Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fb426b40 authored by cketti's avatar cketti
Browse files

Remove migration code for really old K-9 Mail versions

parent 9ee87462
Loading
Loading
Loading
Loading
+0 −8
Original line number Original line Diff line number Diff line
@@ -37,14 +37,6 @@ class Preferences internal constructor(
    init {
    init {
        val persistedStorageValues = storagePersister.loadValues()
        val persistedStorageValues = storagePersister.loadValues()
        storage.replaceAll(persistedStorageValues)
        storage.replaceAll(persistedStorageValues)

        if (storage.isEmpty) {
            Timber.i("Preferences storage is zero-size, importing from Android-style preferences")

            val editor = createStorageEditor()
            editor.copy(context.getSharedPreferences("AndroidMail.Main", Context.MODE_PRIVATE))
            editor.commit()
        }
    }
    }


    fun createStorageEditor(): StorageEditor {
    fun createStorageEditor(): StorageEditor {