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