dark mode-v20
This commit is contained in:
parent
32c4c35f76
commit
f25fa44481
1 changed files with 1 additions and 0 deletions
|
|
@ -21,6 +21,7 @@ private val Context.dataStore: DataStore<Preferences> by preferencesDataStore(na
|
|||
// 修正 2: 移除 private,讓 Hilt 可以訪問這個模組
|
||||
object DataStoreModule {
|
||||
|
||||
//UserPreferencesRepository
|
||||
@Provides
|
||||
@Singleton
|
||||
fun provideUserPreferencesRepository(
|
||||
|
|
|
|||
Loading…
Reference in a new issue