Skip to content

Commit

Permalink
🔀 Merge pull request #33 from Fedodo/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
LNA-DEV authored Jul 5, 2023
2 parents 7f2841f + ef21b4b commit 5c6507b
Show file tree
Hide file tree
Showing 33 changed files with 24 additions and 28 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import '../Globals/preferences.dart';
import '../globals/preferences.dart';

extension StringExtensions on String{
String asFedodoProxyString() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import '../Globals/preferences.dart';
import '../globals/preferences.dart';

extension UriExtensions on Uri{
Uri asFedodoProxyUri() {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions lib/Globals/app_globals.dart → lib/globals/app_globals.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import 'package:fedodo_general/Globals/general.dart';
import 'package:fedodo_general/Globals/preferences.dart';
import 'package:fedodo_general/globals/general.dart';
import 'package:fedodo_general/globals/preferences.dart';
import 'package:fedodo_general/fedodo_main.dart';
import 'package:flutter/material.dart';
import 'package:shared_preferences/shared_preferences.dart';
Expand Down
2 changes: 1 addition & 1 deletion lib/Globals/auth.dart → lib/globals/auth.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'package:fedodo_general/Globals/preferences.dart';
import 'package:fedodo_general/globals/preferences.dart';
import 'package:flutter/foundation.dart';

class AuthGlobals {
Expand Down
2 changes: 1 addition & 1 deletion lib/Globals/general.dart → lib/globals/general.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'package:fedodo_general/Globals/preferences.dart';
import 'package:fedodo_general/globals/preferences.dart';
import 'package:jwt_decoder/jwt_decoder.dart';
import 'package:logger/logger.dart';

Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions lib/material_app.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'package:fedodo_general/Globals/auth.dart';
import 'package:fedodo_general/Globals/preferences.dart';
import 'package:fedodo_general/SuSi/susi_view.dart';
import 'package:fedodo_general/globals/auth.dart';
import 'package:fedodo_general/globals/preferences.dart';
import 'package:fedodo_general/widgets/auth/susi_view.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

Expand Down
2 changes: 1 addition & 1 deletion lib/navigation.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import 'package:easy_sidemenu/easy_sidemenu.dart';
import 'package:fedodo_general/Globals/general.dart';
import 'package:fedodo_general/globals/general.dart';
import 'package:flutter/material.dart';

class Navigation extends StatefulWidget {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'dart:convert';
import 'dart:io';
import 'package:fedodo_general/Globals/auth.dart';
import 'package:fedodo_general/Globals/preferences.dart';
import 'package:fedodo_general/globals/auth.dart';
import 'package:fedodo_general/globals/preferences.dart';
import 'package:flutter_guid/flutter_guid.dart';
import 'package:http/http.dart' as http;
import 'package:flutter/foundation.dart' show kIsWeb;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import 'package:fedodo_general/Globals/preferences.dart';
import 'package:fedodo_general/SuSi/OAuthHandler/custom_web_base_dummy.dart'
import 'package:fedodo_general/globals/preferences.dart';
import 'package:fedodo_general/widgets/auth/oauth_handler/custom_web_base_dummy.dart'
if (dart.library.html) '../OAuthHandler/custom_web_base.dart';
import 'package:flutter/foundation.dart';
import 'package:oauth2_client/access_token_response.dart';
import 'package:oauth2_client/interfaces.dart';
import 'package:oauth2_client/oauth2_client.dart';
import 'package:random_string/random_string.dart';
import '../../Globals/auth.dart';
import '../../../globals/auth.dart';

class LoginManager {
late OAuth2Client client;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import 'package:fedodo_general/Globals/auth.dart';
import 'package:fedodo_general/Globals/preferences.dart';
import 'package:fedodo_general/globals/auth.dart';
import 'package:fedodo_general/globals/preferences.dart';
import 'package:oauth2_client/interfaces.dart';
// ignore: avoid_web_libraries_in_flutter
import 'dart:html' as html;
Expand Down
6 changes: 3 additions & 3 deletions lib/SuSi/susi_view.dart → lib/widgets/auth/susi_view.dart
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import 'dart:io';
import 'package:fedodo_general/Globals/preferences.dart';
import 'package:fedodo_general/SuSi/APIs/application_registration.dart';
import 'package:fedodo_general/globals/preferences.dart';
import 'package:fedodo_general/widgets/auth/apis/application_registration.dart';
import 'package:flutter/material.dart';
import 'APIs/login_manager.dart';
import 'apis/login_manager.dart';
import 'package:flutter/foundation.dart' show kIsWeb;

class SuSiView extends StatelessWidget {
Expand Down
2 changes: 0 additions & 2 deletions lib/widgets/posts/components/post_bottom.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,10 @@ class PostBottom extends StatelessWidget {
const PostBottom({
Key? key,
required this.activity,
required this.appTitle,
required this.createPostView,
}) : super(key: key);

final Activity activity;
final String appTitle;
final Widget createPostView;

@override
Expand Down
4 changes: 1 addition & 3 deletions lib/widgets/posts/components/user_header.dart
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
import 'package:activitypub/activitypub.dart';
import 'package:cached_network_image/cached_network_image.dart';
import 'package:fedodo_general/Extensions/string_extensions.dart';
import 'package:fedodo_general/extensions/string_extensions.dart';
import 'package:flutter/material.dart';
import 'package:timeago/timeago.dart' as timeago;

class UserHeader extends StatelessWidget {
const UserHeader({
Key? key,
required this.profileId,
required this.appTitle,
this.publishedDateTime,
required this.profile,
}) : super(key: key);

final String profileId;
final DateTime? publishedDateTime;
final String appTitle;
final Widget profile;

@override
Expand Down
2 changes: 1 addition & 1 deletion lib/widgets/profile/components/profile_picture_detail.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'package:fedodo_general/Extensions/string_extensions.dart';
import 'package:fedodo_general/extensions/string_extensions.dart';
import 'package:flutter/material.dart';

class ProfilePictureDetail extends StatefulWidget {
Expand Down
2 changes: 1 addition & 1 deletion lib/widgets/profile/profile_head.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import 'package:activitypub/APIs/followings_api.dart';
import 'package:activitypub/APIs/outbox_api.dart';
import 'package:activitypub/Models/actor.dart';
import 'package:activitypub/Models/ordered_paged_collection.dart';
import 'package:fedodo_general/Globals/general.dart';
import 'package:fedodo_general/globals/general.dart';
import 'package:flutter/material.dart';
import 'components/profile_description.dart';
import 'components/profile_name_row.dart';
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: fedodo_general
description: A flutter package which contains general components of the Fedodo-UIs.
version: 1.8.0
version: 1.8.1
homepage: https://fedodo.org

environment:
Expand Down

0 comments on commit 5c6507b

Please sign in to comment.