Skip to content

Commit ea22b1c

Browse files
authored
Forget old settings
1 parent 7bcf4b6 commit ea22b1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: app/src/main/java/com/kin/easynotes/data/repository/SettingsRepository.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import com.kin.easynotes.widget.NotesWidgetReceiver
1414
import kotlinx.coroutines.flow.first
1515

1616

17-
private const val PREFERENCES_NAME = "settings"
17+
private const val PREFERENCES_NAME = "settingsupdated"
1818

1919
private val Context.dataStore: DataStore<Preferences> by preferencesDataStore(
2020
name = PREFERENCES_NAME,
@@ -82,4 +82,4 @@ class SettingsRepositoryImpl (private val context: Context) : SettingsRepository
8282
}
8383
return widgetPairs
8484
}
85-
}
85+
}

0 commit comments

Comments
 (0)