mirror of
https://github.com/SimpleMobileTools/Simple-Keyboard.git
synced 2025-06-05 21:49:26 +02:00
15 lines
461 B
Kotlin
15 lines
461 B
Kotlin
package com.simplemobiletools.keyboard.helpers
|
|
|
|
import android.content.Context
|
|
import com.simplemobiletools.commons.helpers.BaseConfig
|
|
|
|
class Config(context: Context) : BaseConfig(context) {
|
|
companion object {
|
|
fun newInstance(context: Context) = Config(context)
|
|
}
|
|
|
|
var showClipboard: Boolean
|
|
get() = prefs.getBoolean(SHOW_CLIPBOARD, true)
|
|
set(showClipboard) = prefs.edit().putBoolean(SHOW_CLIPBOARD, showClipboard).apply()
|
|
}
|