Merge pull request #3420 from kiwix/Issue#3419

Fixes of PreferenceManager.getDefaultSharedPreferences() is deprecated
This commit is contained in:
Kelson 2023-06-30 16:59:06 +02:00 committed by GitHub
commit 99f6fdf474
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@ package org.kiwix.kiwixmobile.core.utils
import android.content.Context
import android.content.SharedPreferences
import android.os.Build
import android.preference.PreferenceManager
import androidx.preference.PreferenceManager
import androidx.appcompat.app.AppCompatDelegate
import androidx.core.content.ContextCompat.getExternalFilesDirs
import androidx.core.content.edit