Added download directory entry on preferences

Changed download folder
This commit is contained in:
tom5079
2020-01-04 13:16:39 +09:00
parent 774867502d
commit 6fbb644e4b
6 changed files with 42 additions and 8 deletions

View File

@@ -208,6 +208,17 @@ class SettingsActivity : AppCompatActivity() {
}
}
with(findPreference<Preference>("dl_location")) {
this!!
summary = getDownloadDirectory(context).absolutePath
onPreferenceClickListener = Preference.OnPreferenceClickListener {
true
}
}
with(findPreference<Preference>("default_query")) {
this!!