diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 3eba8d6..0607fe3 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -4,7 +4,7 @@ ## Issue tracking / Repository -From issues to wikis: everything is on [GitHub](https://github.com/krawieck/lemmur) +From issues to wikis: everything is on [GitHub](https://github.com/LemmurOrg/lemmur) ## Linting / Formatting @@ -20,7 +20,7 @@ To contribute time ago strings please send a PR containing a class that implemen ## Architecture -Lemmur is written in Dart using [Flutter](https://flutter.dev/docs). To communicate with Lemmy instances [lemmy_api_client](https://github.com/krawieck/lemmy_api_client) is used. +Lemmur is written in Dart using [Flutter](https://flutter.dev/docs). To communicate with Lemmy instances [lemmy_api_client](https://github.com/LemmurOrg/lemmy_api_client) is used. ### State management @@ -45,7 +45,7 @@ Lemmur is written in Dart using [Flutter](https://flutter.dev/docs). To communic ### Lemmy API -LAC (Lemmy API Client) is used to communicate with Lemmy backends, more information can be found [here](https://github.com/krawieck/lemmy_api_client). +LAC (Lemmy API Client) is used to communicate with Lemmy backends, more information can be found [here](https://github.com/LemmurOrg/lemmy_api_client). ### For React developers diff --git a/README.md b/README.md index 4dc2df8..bd7e892 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,14 @@
-[![](https://github.com/krawieck/lemmur/workflows/ci/badge.svg)](https://github.com/krawieck/lemmur/actions) +[![](https://github.com/LemmurOrg/lemmur/workflows/ci/badge.svg)](https://github.com/LemmurOrg/lemmur/actions) - + # lemmur -[Get it on F-Droid](https://f-droid.org/packages/com.krawieck.lemmur) -[](https://play.google.com/store/apps/details?id=com.krawieck.lemmur) -[](https://github.com/krawieck/lemmur/releases/latest) +[Get it on F-Droid](https://f-droid.org/packages/com.LemmurOrg.lemmur) +[](https://play.google.com/store/apps/details?id=com.LemmurOrg.lemmur) +[](https://github.com/LemmurOrg/lemmur/releases/latest) A mobile client for [Lemmy](https://github.com/LemmyNet/lemmy) - a federated reddit alternative @@ -31,7 +31,7 @@ A mobile client for [Lemmy](https://github.com/LemmyNet/lemmy) - a federated red ### Prerequisites - Install [flutter](https://flutter.dev/docs/get-started/install): To check if this step was successful run `flutter doctor` (Installing android studio is not required if you setup the android SDK yourself) -- Clone this repo: `git clone https://github.com/krawieck/lemmur` +- Clone this repo: `git clone https://github.com/LemmurOrg/lemmur` - Enter the repo: `cd lemmur` ### Android diff --git a/assets/l10n/intl_nb.arb b/assets/l10n/intl_nb.arb new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/assets/l10n/intl_nb.arb @@ -0,0 +1 @@ +{} diff --git a/lib/app.dart b/lib/app.dart index e8cc8d8..87119b7 100644 --- a/lib/app.dart +++ b/lib/app.dart @@ -3,8 +3,8 @@ import 'package:keyboard_dismisser/keyboard_dismisser.dart'; import 'l10n/l10n.dart'; import 'pages/home_page.dart'; +import 'resources/theme.dart'; import 'stores/config_store.dart'; -import 'theme.dart'; import 'util/observer_consumers.dart'; class MyApp extends StatelessWidget { diff --git a/lib/resources/links.dart b/lib/resources/links.dart new file mode 100644 index 0000000..9ee9233 --- /dev/null +++ b/lib/resources/links.dart @@ -0,0 +1 @@ +const lemmurRepositoryLink = 'https://github.com/LemmurOrg/lemmur'; diff --git a/lib/theme.dart b/lib/resources/theme.dart similarity index 98% rename from lib/theme.dart rename to lib/resources/theme.dart index 6897fe4..85a4a04 100644 --- a/lib/theme.dart +++ b/lib/resources/theme.dart @@ -1,7 +1,7 @@ import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; -import 'util/text_color.dart'; +import '../util/text_color.dart'; ThemeData _themeFactory({bool dark = false, bool amoled = false}) { assert(dark || !amoled, "Can't have amoled without dark mode"); diff --git a/lib/widgets/about_tile.dart b/lib/widgets/about_tile.dart index fa720c1..1ca37c4 100644 --- a/lib/widgets/about_tile.dart +++ b/lib/widgets/about_tile.dart @@ -6,6 +6,7 @@ import 'package:package_info_plus/package_info_plus.dart'; import '../gen/assets.gen.dart'; import '../hooks/memo_future.dart'; import '../pages/log_console/log_console.dart'; +import '../resources/links.dart'; import '../url_launcher.dart'; import 'bottom_safe.dart'; @@ -42,7 +43,7 @@ class AboutTile extends HookWidget { TextButton.icon( icon: const Icon(Icons.code), label: const Text('source code'), - onPressed: () => openInBrowser('https://github.com/krawieck/lemmur'), + onPressed: () => openInBrowser(lemmurRepositoryLink), ), TextButton.icon( icon: const Icon(Icons.monetization_on),