From 5586fea6b3800bf673e0a5f7df1f1d80bda47623 Mon Sep 17 00:00:00 2001 From: RarDog Date: Fri, 4 Sep 2026 17:04:46 +0300 Subject: [PATCH] feat: recommend GitHub for speed in update sheet, Gitea as neutral (v3.0.3) --- README.md | 2 +- lib/app/app_version.dart | 4 ++-- .../settings/presentation/settings_screen.dart | 18 +++++++++--------- pubspec.yaml | 2 +- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 776b00f..c25b7f9 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@

- Version 3.0.2 + Version 3.0.3 Flutter Platforms Wiki diff --git a/lib/app/app_version.dart b/lib/app/app_version.dart index 2d8a1a2..f45d1a7 100644 --- a/lib/app/app_version.dart +++ b/lib/app/app_version.dart @@ -1,3 +1,3 @@ -const appDisplayVersion = '3.0.2'; -const appBuildNumber = 53; +const appDisplayVersion = '3.0.3'; +const appBuildNumber = 54; const appReleaseChannel = 'Stable'; diff --git a/lib/features/settings/presentation/settings_screen.dart b/lib/features/settings/presentation/settings_screen.dart index 54c2d78..32c8339 100644 --- a/lib/features/settings/presentation/settings_screen.dart +++ b/lib/features/settings/presentation/settings_screen.dart @@ -1005,13 +1005,13 @@ class _SettingsContentState extends ConsumerState<_SettingsContent> { ), const SizedBox(height: 20), - // Option 1: Gitea (Recommended for speed) + // Option 1: GitHub (Recommended for speed) Material( color: theme.colorScheme.primaryContainer.withValues(alpha: 0.35), borderRadius: BorderRadius.circular(16), child: InkWell( borderRadius: BorderRadius.circular(16), - onTap: () => Navigator.pop(sheetContext, UpdateSource.gitea), + onTap: () => Navigator.pop(sheetContext, UpdateSource.github), child: Padding( padding: const EdgeInsets.all(16), child: Row( @@ -1037,7 +1037,7 @@ class _SettingsContentState extends ConsumerState<_SettingsContent> { Row( children: [ Text( - 'Gitea', + 'GitHub', style: theme.textTheme.titleSmall?.copyWith( fontWeight: FontWeight.bold, ), @@ -1087,13 +1087,13 @@ class _SettingsContentState extends ConsumerState<_SettingsContent> { ), const SizedBox(height: 12), - // Option 2: GitHub (Muted / neutral grey) + // Option 2: Gitea (Muted / neutral grey) Material( color: theme.colorScheme.surfaceContainerHighest.withValues(alpha: 0.25), borderRadius: BorderRadius.circular(16), child: InkWell( borderRadius: BorderRadius.circular(16), - onTap: () => Navigator.pop(sheetContext, UpdateSource.github), + onTap: () => Navigator.pop(sheetContext, UpdateSource.gitea), child: Padding( padding: const EdgeInsets.all(16), child: Row( @@ -1106,7 +1106,7 @@ class _SettingsContentState extends ConsumerState<_SettingsContent> { borderRadius: BorderRadius.circular(12), ), child: Icon( - Icons.code_rounded, + Icons.dns_rounded, color: theme.colorScheme.onSurfaceVariant, size: 22, ), @@ -1117,7 +1117,7 @@ class _SettingsContentState extends ConsumerState<_SettingsContent> { crossAxisAlignment: CrossAxisAlignment.start, children: [ Text( - 'GitHub', + 'Gitea', style: theme.textTheme.titleSmall?.copyWith( fontWeight: FontWeight.w600, color: theme.colorScheme.onSurfaceVariant, @@ -1126,8 +1126,8 @@ class _SettingsContentState extends ConsumerState<_SettingsContent> { const SizedBox(height: 3), Text( isRu - ? 'Глобальное зеркало релизов' - : 'Global release mirror', + ? 'Сервер релизов' + : 'Release server', style: theme.textTheme.bodySmall?.copyWith( color: theme.colorScheme.onSurfaceVariant.withValues(alpha: 0.7), ), diff --git a/pubspec.yaml b/pubspec.yaml index 33fef0e..52f5042 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,7 @@ name: gel_rule_app description: Local backend/core layer for a Flutter booru browser app. publish_to: "none" -version: 3.0.2+53 +version: 3.0.3+54 environment: sdk: ">=3.3.0 <4.0.0"