File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
app/src/main/java/com/infomaniak/mail/data/cache Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -23,20 +23,20 @@ import io.realm.kotlin.migration.AutomaticSchemaMigration.MigrationContext
2323
2424val USER_INFO_MIGRATION = AutomaticSchemaMigration { migrationContext ->
2525 SentryDebug .addMigrationBreadcrumb(migrationContext)
26- migrationContext.deleteRealmFromFirstMigration ()
26+ migrationContext.deleteRealmAt1stMigration ()
2727}
2828
2929val MAILBOX_INFO_MIGRATION = AutomaticSchemaMigration { migrationContext ->
3030 SentryDebug .addMigrationBreadcrumb(migrationContext)
31- migrationContext.deleteRealmFromFirstMigration ()
31+ migrationContext.deleteRealmAt1stMigration ()
3232}
3333
3434val MAILBOX_CONTENT_MIGRATION = AutomaticSchemaMigration { migrationContext ->
3535 SentryDebug .addMigrationBreadcrumb(migrationContext)
36- migrationContext.deleteRealmFromFirstMigration ()
36+ migrationContext.deleteRealmAt1stMigration ()
3737}
3838
3939// Migrate to version #1
40- private fun MigrationContext.deleteRealmFromFirstMigration () {
40+ private fun MigrationContext.deleteRealmAt1stMigration () {
4141 if (oldRealm.schemaVersion() < 1L ) newRealm.deleteAll()
4242}
You can’t perform that action at this time.
0 commit comments