summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authort895 <clombardo169@gmail.com>2023-11-13 01:12:49 +0100
committert895 <clombardo169@gmail.com>2023-11-13 03:36:51 +0100
commit470714e2d10f426d7d12b25cff5c2315d0fa10f5 (patch)
tree921caa2d44d18867695c364cda6a50a91b4e7499
parentandroid: Add icons and descriptions to the first-level advanced settings page (diff)
downloadyuzu-470714e2d10f426d7d12b25cff5c2315d0fa10f5.tar
yuzu-470714e2d10f426d7d12b25cff5c2315d0fa10f5.tar.gz
yuzu-470714e2d10f426d7d12b25cff5c2315d0fa10f5.tar.bz2
yuzu-470714e2d10f426d7d12b25cff5c2315d0fa10f5.tar.lz
yuzu-470714e2d10f426d7d12b25cff5c2315d0fa10f5.tar.xz
yuzu-470714e2d10f426d7d12b25cff5c2315d0fa10f5.tar.zst
yuzu-470714e2d10f426d7d12b25cff5c2315d0fa10f5.zip
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsFragment.kt7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsFragment.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsFragment.kt
index 2b85167a8..3c4aefbcb 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsFragment.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsFragment.kt
@@ -20,7 +20,6 @@ import androidx.lifecycle.repeatOnLifecycle
import androidx.navigation.findNavController
import androidx.navigation.fragment.navArgs
import androidx.recyclerview.widget.LinearLayoutManager
-import com.google.android.material.divider.MaterialDividerItemDecoration
import com.google.android.material.transition.MaterialSharedAxis
import kotlinx.coroutines.flow.collectLatest
import kotlinx.coroutines.launch
@@ -68,15 +67,9 @@ class SettingsFragment : Fragment() {
)
binding.toolbarSettingsLayout.title = getString(args.menuTag.titleId)
- val dividerDecoration = MaterialDividerItemDecoration(
- requireContext(),
- LinearLayoutManager.VERTICAL
- )
- dividerDecoration.isLastItemDecorated = false
binding.listSettings.apply {
adapter = settingsAdapter
layoutManager = LinearLayoutManager(requireContext())
- addItemDecoration(dividerDecoration)
}
binding.toolbarSettings.setNavigationOnClickListener {