From e8265bc74a1def26c2013600f46c58ed62074802 Mon Sep 17 00:00:00 2001 From: GT610 <79314033+GT-610@users.noreply.github.com> Date: Thu, 19 Mar 2026 15:56:37 +0800 Subject: [PATCH] refactor: Remove Cupertino routing options and update the list of contributors (#1076) - Remove code related to Cupertino routing that is no longer in use - Update the list of contributors on GitHub - Update the version of the xterm submodule --- lib/data/res/github_id.dart | 8 ++++++-- lib/data/store/setting.dart | 3 --- lib/view/page/setting/entries/app.dart | 8 -------- packages/xterm | 2 +- 4 files changed, 7 insertions(+), 14 deletions(-) diff --git a/lib/data/res/github_id.dart b/lib/data/res/github_id.dart index 31471778..a46ea8e3 100644 --- a/lib/data/res/github_id.dart +++ b/lib/data/res/github_id.dart @@ -3,6 +3,7 @@ abstract final class GithubIds { // If you want to change your Github ID, please open an issue. static const contributors = { 'PaperCube', + 'GT-610', 'Integral-Tech', 'its-tom', 'leganck', @@ -22,7 +23,6 @@ abstract final class GithubIds { 'MasedMSD', 'GitGitro', 'Shin-suechtig', - 'GT-610', 'hypn4' }; @@ -144,7 +144,11 @@ abstract final class GithubIds { 'toarujs', 'n4vi98', 'Android0termux', - 'idunwannagotoschool' + 'idunwannagotoschool', + 'jiao114514jiao', + 'jjyou-github', + 'yeluonight', + 'Yinhono', }; } diff --git a/lib/data/store/setting.dart b/lib/data/store/setting.dart index 8bfadc84..0b2dc088 100644 --- a/lib/data/store/setting.dart +++ b/lib/data/store/setting.dart @@ -203,9 +203,6 @@ class SettingStore extends HiveStore { late final lastVer = propertyDefault('lastVer', 0); - /// Use CupertinoPageRoute for all routes - late final cupertinoRoute = propertyDefault('cupertinoRoute', isIOS); - /// Hide title bar on desktop late final hideTitleBar = propertyDefault('hideTitleBar', isDesktop); diff --git a/lib/view/page/setting/entries/app.dart b/lib/view/page/setting/entries/app.dart index ab590110..d7a0cae2 100644 --- a/lib/view/page/setting/entries/app.dart +++ b/lib/view/page/setting/entries/app.dart @@ -316,7 +316,6 @@ extension _App on _AppSettingsPageState { _buildBeta(), if (isMobile) _buildWakeLock(), _buildCollapseUI(), - _buildCupertinoRoute(), if (isDesktop) _buildHideTitleBar(), _buildEditRawSettings(), ], @@ -344,13 +343,6 @@ extension _App on _AppSettingsPageState { ); } - Widget _buildCupertinoRoute() { - return ListTile( - title: Text('Cupertino ${libL10n.route}'), - trailing: StoreSwitch(prop: _setting.cupertinoRoute), - ); - } - Widget _buildHideTitleBar() { return ListTile( title: Text(l10n.hideTitleBar), diff --git a/packages/xterm b/packages/xterm index 80211829..13708c95 160000 --- a/packages/xterm +++ b/packages/xterm @@ -1 +1 @@ -Subproject commit 80211829ed382907f0053b09004793bea7460365 +Subproject commit 13708c95747d2d85439e6c6b65c9683431396208