mirror of
https://github.com/SimpleMobileTools/Simple-Keyboard.git
synced 2025-06-05 21:49:26 +02:00
adding a setting for toggling clipboard visibility
This commit is contained in:
@ -7,4 +7,8 @@ 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()
|
||||
}
|
||||
|
Reference in New Issue
Block a user