mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-07-03 10:54:38 -05:00
19 lines
387 B
Kotlin
19 lines
387 B
Kotlin
package android.preference
|
|
|
|
import android.content.Context
|
|
|
|
/**
|
|
* Created by nulldev on 3/26/17.
|
|
*/
|
|
|
|
class PreferenceManager {
|
|
companion object {
|
|
@JvmStatic
|
|
fun getDefaultSharedPreferences(context: Context) =
|
|
context.getSharedPreferences(
|
|
context.applicationInfo.packageName,
|
|
Context.MODE_PRIVATE
|
|
)!!
|
|
}
|
|
}
|