Skip to content

Instantly share code, notes, and snippets.

@SergeiMikhailovskii
Created November 14, 2022 21:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SergeiMikhailovskii/4d7d19271c9ab9cdbea8b8c7beaaf2d7 to your computer and use it in GitHub Desktop.
Save SergeiMikhailovskii/4d7d19271c9ab9cdbea8b8c7beaaf2d7 to your computer and use it in GitHub Desktop.
actual fun createMigrations(di: DI): List<DataMigration<Preferences>> {
val context by di.instance<Context>()
return listOf(SharedPreferencesMigration(context, "fitnestapp"))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment