Skip to content

Commit

Permalink
refactor: 使用Compose重新UI
Browse files Browse the repository at this point in the history
  • Loading branch information
jing332 committed Aug 22, 2023
1 parent 59cc757 commit 6d28aae
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -103,19 +103,14 @@
android:label="@string/edit_plugin_tts" />
<activity
android:name=".ui.MainActivity"
android:exported="true" />
<activity
android:name=".compose.ComposeMainActivity"
android:exported="true"
android:launchMode="singleTask"
android:theme="@style/Theme.TtsServer.NoActionBar">
android:label="旧版TTS Server">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />

<action android:name="android.service.quicksettings.action.QS_TILE_PREFERENCES" />
</intent-filter>

<intent-filter>
<action android:name="android.intent.action.VIEW" />

Expand Down Expand Up @@ -160,6 +155,20 @@
<data android:pathPattern=".*\\.JS" />
</intent-filter>
</activity>
<activity
android:name=".compose.ComposeMainActivity"
android:exported="true"
android:launchMode="singleTask"
android:theme="@style/Theme.TtsServer.NoActionBar">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />

<action android:name="android.service.quicksettings.action.QS_TILE_PREFERENCES" />
</intent-filter>

</activity>
<activity
android:name=".ui.systts.edit.microsoft.MsTtsEditActivity"
android:label="@string/title_activity_tts_config_edit" />
Expand Down

0 comments on commit 6d28aae

Please sign in to comment.