-
-
Save SergeiMikhailovskii/aa93a70462918c95c6ff8a4e355e0256 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
internal fun getDataStore(path: String, migrations: List<DataMigration<Preferences>>) = | |
PreferenceDataStoreFactory.createWithPath(migrations = migrations) { path.toPath() } | |
internal const val dataStoreFileName = "fitnest.preferences_pb" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment