allow exporting clipboard items into a file

This commit is contained in:
tibbi
2022-01-31 10:57:16 +01:00
parent aea7b7bc55
commit 1c3fb0ee11
8 changed files with 214 additions and 7 deletions

View File

@ -15,4 +15,8 @@ class Config(context: Context) : BaseConfig(context) {
var showPopupOnKeypress: Boolean
get() = prefs.getBoolean(SHOW_POPUP_ON_KEYPRESS, true)
set(showPopupOnKeypress) = prefs.edit().putBoolean(SHOW_POPUP_ON_KEYPRESS, showPopupOnKeypress).apply()
var lastExportedClipsFolder: String
get() = prefs.getString(LAST_EXPORTED_CLIPS_FOLDER, "")!!
set(lastExportedClipsFolder) = prefs.edit().putString(LAST_EXPORTED_CLIPS_FOLDER, lastExportedClipsFolder).apply()
}