Add dialog to import messages

This commit is contained in:
Paul Akhamiogu 2021-09-10 00:31:04 +01:00
parent 2a5f2bfc03
commit b74a511a5e
6 changed files with 147 additions and 3 deletions

View file

@ -38,4 +38,12 @@ class Config(context: Context) : BaseConfig(context) {
get() = prefs.getBoolean(EXPORT_MMS, true)
set(exportMms) = prefs.edit().putBoolean(EXPORT_MMS, exportMms).apply()
var importSms: Boolean
get() = prefs.getBoolean(IMPORT_SMS, true)
set(importSms) = prefs.edit().putBoolean(IMPORT_SMS, importSms).apply()
var importMms: Boolean
get() = prefs.getBoolean(IMPORT_MMS, true)
set(importMms) = prefs.edit().putBoolean(IMPORT_MMS, importMms).apply()
}