pref: 默认启用新版 UI

This commit is contained in:
HuanCheng65 2023-10-05 18:08:17 +08:00
parent fd7f273277
commit 860ea01f34
No known key found for this signature in database
GPG Key ID: 5EC9DD60A32C7360
4 changed files with 6 additions and 7 deletions

View File

@ -43,7 +43,6 @@ android {
}
manifestPlaceholders = [
is_self_build: "$isSelfBuild",
enable_new_ui: "${debug || isSelfBuild}",
]
}
buildFeatures {

View File

@ -50,10 +50,10 @@
android:allowBackup="true"
android:dataExtractionRules="@xml/data_extraction_rules"
android:fullBackupContent="@xml/backup_descriptor"
android:icon="@mipmap/ic_launcher"
android:icon="@mipmap/ic_launcher_new"
android:label="@string/app_name"
android:largeHeap="true"
android:roundIcon="@mipmap/ic_launcher_round"
android:roundIcon="@mipmap/ic_launcher_new_round"
android:supportsRtl="true"
android:theme="@style/AppTheme"
android:usesCleartextTraffic="true"
@ -128,10 +128,11 @@
android:value="${is_self_build}" />
<meta-data
android:name="enable_new_ui"
android:value="${enable_new_ui}" />
android:value="true" />
<activity
android:name=".activities.MainActivity"
android:enabled="false"
android:configChanges="screenSize|screenLayout|orientation|smallestScreenSize|keyboardHidden"
android:exported="true"
android:icon="@mipmap/ic_launcher"
@ -152,7 +153,7 @@
<activity
android:name=".MainActivityV2"
android:configChanges="screenSize|screenLayout|orientation|smallestScreenSize|keyboard|navigation|keyboardHidden"
android:enabled="${enable_new_ui}"
android:enabled="true"
android:exported="true"
android:icon="@mipmap/ic_launcher_new"
android:roundIcon="@mipmap/ic_launcher_new_round"

View File

@ -18,7 +18,6 @@
</string-array>
<string-array name="experimental_features">
<item>oksign_use_official_oksign</item>
<item>checkCIUpdate</item>
</string-array>

View File

@ -260,7 +260,7 @@
android:title="@string/title_check_ci_update" />
<SwitchPreference
android:defaultValue="false"
android:defaultValue="true"
android:icon="@drawable/ic_round_fiber_new"
android:key="enableNewUi"
android:summary="@string/summary_enable_new_ui"