refactor: 移除不必要的导入
This commit is contained in:
parent
c20c747baa
commit
02d7d2a444
3 changed files with 2 additions and 2 deletions
|
|
@ -26,6 +26,7 @@
|
|||
<activity
|
||||
android:name=".ui.activities.CrashActivity"
|
||||
android:exported="false"
|
||||
android:launchMode="singleTask"
|
||||
android:theme="@style/Theme.ToDo" />
|
||||
</application>
|
||||
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@ fun SettingsData(
|
|||
|
||||
val restoreLauncher = rememberLauncherForActivityResult(
|
||||
contract = ActivityResultContracts.OpenDocument(),
|
||||
onResult = { it ->
|
||||
onResult = {
|
||||
if (it != null) {
|
||||
viewModel.restoreDatabase(
|
||||
uri = it,
|
||||
|
|
|
|||
Loading…
Reference in a new issue