mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-26 22:47:59 +01:00
always show the Manage Excluded Folders setting item
This commit is contained in:
parent
0728c1b9e1
commit
82a74ebd25
1 changed files with 0 additions and 3 deletions
|
@ -4,7 +4,6 @@ import android.content.Intent
|
||||||
import android.content.res.Resources
|
import android.content.res.Resources
|
||||||
import android.os.Bundle
|
import android.os.Bundle
|
||||||
import com.simplemobiletools.commons.dialogs.RadioGroupDialog
|
import com.simplemobiletools.commons.dialogs.RadioGroupDialog
|
||||||
import com.simplemobiletools.commons.extensions.beVisibleIf
|
|
||||||
import com.simplemobiletools.commons.extensions.updateTextColors
|
import com.simplemobiletools.commons.extensions.updateTextColors
|
||||||
import com.simplemobiletools.commons.models.RadioItem
|
import com.simplemobiletools.commons.models.RadioItem
|
||||||
import com.simplemobiletools.gallery.R
|
import com.simplemobiletools.gallery.R
|
||||||
|
@ -44,8 +43,6 @@ class SettingsActivity : SimpleActivity() {
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun setupManageExcludedFolders() {
|
private fun setupManageExcludedFolders() {
|
||||||
val excludedFolders = config.excludedFolders
|
|
||||||
settings_manage_excluded_folders_holder.beVisibleIf(excludedFolders.isNotEmpty())
|
|
||||||
settings_manage_excluded_folders_holder.setOnClickListener {
|
settings_manage_excluded_folders_holder.setOnClickListener {
|
||||||
startActivity(Intent(this, ExcludedFoldersActivity::class.java))
|
startActivity(Intent(this, ExcludedFoldersActivity::class.java))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue