adding some setting items related to settings ex/importing

This commit is contained in:
tibbi
2019-01-27 21:03:55 +01:00
parent 0f570e04b9
commit eecfdc40d3
3 changed files with 79 additions and 2 deletions

View File

@ -81,12 +81,15 @@ class SettingsActivity : SimpleActivity() {
setupEmptyRecycleBin()
updateTextColors(settings_holder)
setupSectionColors()
setupExportSettings()
setupImportSettings()
}
private fun setupSectionColors() {
val adjustedPrimaryColor = getAdjustedPrimaryColor()
arrayListOf(visibility_label, videos_label, thumbnails_label, scrolling_label, fullscreen_media_label, security_label,
file_operations_label, deep_zoomable_images_label, extended_details_label, bottom_actions_label, recycle_bin_label).forEach {
file_operations_label, deep_zoomable_images_label, extended_details_label, bottom_actions_label, recycle_bin_label,
migrating_label).forEach {
it.setTextColor(adjustedPrimaryColor)
}
}
@ -568,4 +571,16 @@ class SettingsActivity : SimpleActivity() {
}
}
}
private fun setupExportSettings() {
settings_export_holder.setOnClickListener {
}
}
private fun setupImportSettings() {
settings_import_holder.setOnClickListener {
}
}
}