From 6655400d171b614ac06efc890fab6c7106eec3c8 Mon Sep 17 00:00:00 2001 From: klockky Date: Tue, 14 Jul 2026 20:43:30 +0300 Subject: [PATCH] =?UTF-8?q?bump=20version.=20=D0=B7=D0=B0=D0=B2=D1=82?= =?UTF-8?q?=D1=80=D0=B0=20=D0=BE=D1=82=D0=BE=D1=80=D0=B2=D0=B5=D0=BC=20?= =?UTF-8?q?=D1=8F=D0=B9=D1=86=D0=B0=20=D0=B6=D0=B8=D0=B6=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../screens/profile/settings_tab.dart | 45 +++++-------------- pubspec.yaml | 2 +- 2 files changed, 11 insertions(+), 36 deletions(-) diff --git a/lib/frontend/screens/profile/settings_tab.dart b/lib/frontend/screens/profile/settings_tab.dart index a2052f6..7cba3e1 100644 --- a/lib/frontend/screens/profile/settings_tab.dart +++ b/lib/frontend/screens/profile/settings_tab.dart @@ -487,41 +487,7 @@ class _SettingsTabState extends State { ); }, ), - ] - : const SizedBox.shrink( - key: ValueKey('developers_settings_hidden'), - ), - ), - ), - SliverToBoxAdapter( - child: Padding( - padding: const EdgeInsets.fromLTRB(16, 12, 16, 0), - child: _buildSection( - context, - items: [ - _SettingsItem( - icon: Symbols.system_update, - label: _isCheckingForUpdates - ? l10n.updateChecking - : l10n.updateCheck, - onTap: _isCheckingForUpdates ? null : _checkForUpdates, - ), - _SettingsItem( - leading: Image.asset( - 'assets/komet.png', - width: 22, - height: 22, - color: cs.onSurfaceVariant, - ), - label: 'Komet', - onTap: () { - Navigator.push( - context, - MaterialPageRoute( - builder: (context) => const KometSettingsScreen(), - ), - ); - }, + ], ), ), ), @@ -585,6 +551,15 @@ class _SettingsTabState extends State { child: _buildSection( context, items: [ + _SettingsItem( + icon: Symbols.system_update, + label: _isCheckingForUpdates + ? l10n.updateChecking + : l10n.updateCheck, + onTap: _isCheckingForUpdates + ? null + : _checkForUpdates, + ), _SettingsItem( leading: Image.asset( 'assets/komet.png', diff --git a/pubspec.yaml b/pubspec.yaml index 5b39840..5e59c9f 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 0.5.0+14 +version: 0.5.16+16 environment: sdk: ^3.10.4