Change repo links (#306)

This commit is contained in:
Marcin Wojnarowski 2022-01-06 15:28:42 +01:00 committed by GitHub
parent 77ca7dc067
commit 6bb5ca4473
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 15 additions and 12 deletions

View File

@ -4,7 +4,7 @@
## Issue tracking / Repository ## 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 ## Linting / Formatting
@ -20,7 +20,7 @@ To contribute time ago strings please send a PR containing a class that implemen
## Architecture ## 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 ### State management
@ -45,7 +45,7 @@ Lemmur is written in Dart using [Flutter](https://flutter.dev/docs). To communic
### Lemmy API ### 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 ### For React developers

View File

@ -1,14 +1,14 @@
<div align="center"> <div align="center">
[![](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)
<img width=200px height=200px src="https://raw.githubusercontent.com/krawieck/lemmur/master/assets/readme_icon.svg"/> <img width=200px height=200px src="https://raw.githubusercontent.com/LemmurOrg/lemmur/master/assets/readme_icon.svg"/>
# lemmur # lemmur
[<img src="https://fdroid.gitlab.io/artwork/badge/get-it-on.png" alt="Get it on F-Droid" height="80">](https://f-droid.org/packages/com.krawieck.lemmur) [<img src="https://fdroid.gitlab.io/artwork/badge/get-it-on.png" alt="Get it on F-Droid" height="80">](https://f-droid.org/packages/com.LemmurOrg.lemmur)
[<img src="https://cdn.rawgit.com/steverichey/google-play-badge-svg/master/img/en_get.svg" height="80">](https://play.google.com/store/apps/details?id=com.krawieck.lemmur) [<img src="https://cdn.rawgit.com/steverichey/google-play-badge-svg/master/img/en_get.svg" height="80">](https://play.google.com/store/apps/details?id=com.LemmurOrg.lemmur)
[<img src="https://raw.githubusercontent.com/andOTP/andOTP/master/assets/badges/get-it-on-github.png" height="80">](https://github.com/krawieck/lemmur/releases/latest) [<img src="https://raw.githubusercontent.com/andOTP/andOTP/master/assets/badges/get-it-on-github.png" height="80">](https://github.com/LemmurOrg/lemmur/releases/latest)
A mobile client for [Lemmy](https://github.com/LemmyNet/lemmy) - a federated reddit alternative 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 ### 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) - 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` - Enter the repo: `cd lemmur`
### Android ### Android

1
assets/l10n/intl_nb.arb Normal file
View File

@ -0,0 +1 @@
{}

View File

@ -3,8 +3,8 @@ import 'package:keyboard_dismisser/keyboard_dismisser.dart';
import 'l10n/l10n.dart'; import 'l10n/l10n.dart';
import 'pages/home_page.dart'; import 'pages/home_page.dart';
import 'resources/theme.dart';
import 'stores/config_store.dart'; import 'stores/config_store.dart';
import 'theme.dart';
import 'util/observer_consumers.dart'; import 'util/observer_consumers.dart';
class MyApp extends StatelessWidget { class MyApp extends StatelessWidget {

1
lib/resources/links.dart Normal file
View File

@ -0,0 +1 @@
const lemmurRepositoryLink = 'https://github.com/LemmurOrg/lemmur';

View File

@ -1,7 +1,7 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter/services.dart'; import 'package:flutter/services.dart';
import 'util/text_color.dart'; import '../util/text_color.dart';
ThemeData _themeFactory({bool dark = false, bool amoled = false}) { ThemeData _themeFactory({bool dark = false, bool amoled = false}) {
assert(dark || !amoled, "Can't have amoled without dark mode"); assert(dark || !amoled, "Can't have amoled without dark mode");

View File

@ -6,6 +6,7 @@ import 'package:package_info_plus/package_info_plus.dart';
import '../gen/assets.gen.dart'; import '../gen/assets.gen.dart';
import '../hooks/memo_future.dart'; import '../hooks/memo_future.dart';
import '../pages/log_console/log_console.dart'; import '../pages/log_console/log_console.dart';
import '../resources/links.dart';
import '../url_launcher.dart'; import '../url_launcher.dart';
import 'bottom_safe.dart'; import 'bottom_safe.dart';
@ -42,7 +43,7 @@ class AboutTile extends HookWidget {
TextButton.icon( TextButton.icon(
icon: const Icon(Icons.code), icon: const Icon(Icons.code),
label: const Text('source code'), label: const Text('source code'),
onPressed: () => openInBrowser('https://github.com/krawieck/lemmur'), onPressed: () => openInBrowser(lemmurRepositoryLink),
), ),
TextButton.icon( TextButton.icon(
icon: const Icon(Icons.monetization_on), icon: const Icon(Icons.monetization_on),