|
|
@ -152,7 +152,7 @@ class PreferencesHelper(val context: Context) {
|
|
|
|
|
|
|
|
|
|
|
|
fun backupsDirectory() = rxPrefs.getString(Keys.backupDirectory, defaultBackupDir.toString())
|
|
|
|
fun backupsDirectory() = rxPrefs.getString(Keys.backupDirectory, defaultBackupDir.toString())
|
|
|
|
|
|
|
|
|
|
|
|
fun dateFormat() = rxPrefs.getObject(Keys.dateFormat, DateFormatConverter())
|
|
|
|
fun dateFormat() = rxPrefs.getObject(Keys.dateFormat, DateFormat.getDateInstance(DateFormat.SHORT), DateFormatConverter())
|
|
|
|
|
|
|
|
|
|
|
|
fun downloadsDirectory() = rxPrefs.getString(Keys.downloadsDirectory, defaultDownloadsDir.toString())
|
|
|
|
fun downloadsDirectory() = rxPrefs.getString(Keys.downloadsDirectory, defaultDownloadsDir.toString())
|
|
|
|
|
|
|
|
|
|
|
|