refactor: 移除不必要的导入

This commit is contained in:
Super12138 2025-02-16 10:12:25 +08:00
parent c20c747baa
commit 02d7d2a444
3 changed files with 2 additions and 2 deletions

View file

@ -26,6 +26,7 @@
<activity
android:name=".ui.activities.CrashActivity"
android:exported="false"
android:launchMode="singleTask"
android:theme="@style/Theme.ToDo" />
</application>

View file

@ -1,7 +1,6 @@
package cn.super12138.todo.constants
import cn.super12138.todo.utils.SPDelegates
import cn.super12138.todo.utils.SPUtils
object GlobalValues {
var dynamicColor: Boolean by SPDelegates(

View file

@ -82,7 +82,7 @@ fun SettingsData(
val restoreLauncher = rememberLauncherForActivityResult(
contract = ActivityResultContracts.OpenDocument(),
onResult = { it ->
onResult = {
if (it != null) {
viewModel.restoreDatabase(
uri = it,