mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2026-11-29 21:33:07 -08:00
Remove full file path setting
This commit is contained in:
1 parent
14371ecf94
commit
ea119068da
30 files changed
-64
No files matched your search
@@ -231,12 +231,6 @@ object PreferencesUtil {
|
||||
context.resources.getBoolean(R.bool.biometric_auto_open_prompt_default))
|
||||
}
|
||||
|
||||
fun isFullFilePathEnable(context: Context): Boolean {
|
||||
val prefs = PreferenceManager.getDefaultSharedPreferences(context)
|
||||
return prefs.getBoolean(context.getString(R.string.full_file_path_enable_key),
|
||||
context.resources.getBoolean(R.bool.full_file_path_enable_default))
|
||||
}
|
||||
|
||||
fun getListSort(context: Context): SortNodeEnum {
|
||||
val prefs = PreferenceManager.getDefaultSharedPreferences(context)
|
||||
prefs.getString(context.getString(R.string.sort_node_key),
|
||||
|
||||
@@ -78,7 +78,6 @@ class FileDatabaseInfo : Serializable {
|
||||
fun retrieveDatabaseAlias(alias: String): String? {
|
||||
return when {
|
||||
alias.isNotEmpty() -> alias
|
||||
PreferencesUtil.isFullFilePathEnable(context) -> fileUri?.path
|
||||
else -> if (exists) documentFile?.name else fileUri?.path
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user