From 82a74ebd255cdc539801bce8d1081a60ebd0029a Mon Sep 17 00:00:00 2001 From: tibbi Date: Fri, 17 Mar 2017 22:36:09 +0100 Subject: [PATCH] always show the Manage Excluded Folders setting item --- .../simplemobiletools/gallery/activities/SettingsActivity.kt | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/SettingsActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/SettingsActivity.kt index 0c687f7d4..13c6b2422 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/SettingsActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/SettingsActivity.kt @@ -4,7 +4,6 @@ import android.content.Intent import android.content.res.Resources import android.os.Bundle import com.simplemobiletools.commons.dialogs.RadioGroupDialog -import com.simplemobiletools.commons.extensions.beVisibleIf import com.simplemobiletools.commons.extensions.updateTextColors import com.simplemobiletools.commons.models.RadioItem import com.simplemobiletools.gallery.R @@ -44,8 +43,6 @@ class SettingsActivity : SimpleActivity() { } private fun setupManageExcludedFolders() { - val excludedFolders = config.excludedFolders - settings_manage_excluded_folders_holder.beVisibleIf(excludedFolders.isNotEmpty()) settings_manage_excluded_folders_holder.setOnClickListener { startActivity(Intent(this, ExcludedFoldersActivity::class.java)) }