Skip to content

Commit d7f1552

Browse files
committed
app: fix ci error
1 parent 035e8f7 commit d7f1552

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

app/src/main/java/com/maazm7d/termuxhub/MainActivity.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ import com.maazm7d.termuxhub.navigation.TermuxHubAppNav
1111
import androidx.hilt.navigation.compose.hiltViewModel
1212
import com.maazm7d.termuxhub.ui.theme.ThemeViewModel
1313
import com.maazm7d.termuxhub.ui.theme.ThemeMode
14+
import androidx.compose.runtime.collectAsState
15+
import androidx.compose.runtime.getValue
1416
import com.maazm7d.termuxhub.ui.theme.TermuxHubTheme
1517
import dagger.hilt.android.AndroidEntryPoint
1618

app/src/main/java/com/maazm7d/termuxhub/ui/theme/ThemeController.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
package com.maazm7d.termuxhub.ui.theme
22

33
import android.content.Context
4-
import androidx.datastore.preferences.core.stringPreferencesKey
54
import androidx.lifecycle.ViewModel
65
import androidx.lifecycle.viewModelScope
76
import dagger.hilt.android.lifecycle.HiltViewModel
87
import kotlinx.coroutines.flow.*
98
import kotlinx.coroutines.launch
109
import javax.inject.Inject
1110
import androidx.datastore.preferences.core.edit
12-
import androidx.datastore.preferences.core.preferencesDataStore
11+
import androidx.datastore.preferences.preferencesDataStore
1312
import androidx.datastore.preferences.core.stringPreferencesKey
1413
import androidx.datastore.preferences.core.Preferences
1514
import kotlinx.coroutines.flow.Flow

0 commit comments

Comments
 (0)