Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Suyu
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
many-archive
Suyu
Commits
470714e2
There was an error fetching the commit references. Please try again later.
Commit
470714e2
authored
1 year ago
by
t895
Browse files
Options
Downloads
Patches
Plain Diff
android: Remove dividers between each setting
parent
6b888b0f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsFragment.kt
+0
-7
0 additions, 7 deletions
...rg/yuzu/yuzu_emu/features/settings/ui/SettingsFragment.kt
with
0 additions
and
7 deletions
src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsFragment.kt
+
0
−
7
View file @
470714e2
...
@@ -20,7 +20,6 @@ import androidx.lifecycle.repeatOnLifecycle
...
@@ -20,7 +20,6 @@ import androidx.lifecycle.repeatOnLifecycle
import
androidx.navigation.findNavController
import
androidx.navigation.findNavController
import
androidx.navigation.fragment.navArgs
import
androidx.navigation.fragment.navArgs
import
androidx.recyclerview.widget.LinearLayoutManager
import
androidx.recyclerview.widget.LinearLayoutManager
import
com.google.android.material.divider.MaterialDividerItemDecoration
import
com.google.android.material.transition.MaterialSharedAxis
import
com.google.android.material.transition.MaterialSharedAxis
import
kotlinx.coroutines.flow.collectLatest
import
kotlinx.coroutines.flow.collectLatest
import
kotlinx.coroutines.launch
import
kotlinx.coroutines.launch
...
@@ -68,15 +67,9 @@ class SettingsFragment : Fragment() {
...
@@ -68,15 +67,9 @@ class SettingsFragment : Fragment() {
)
)
binding
.
toolbarSettingsLayout
.
title
=
getString
(
args
.
menuTag
.
titleId
)
binding
.
toolbarSettingsLayout
.
title
=
getString
(
args
.
menuTag
.
titleId
)
val
dividerDecoration
=
MaterialDividerItemDecoration
(
requireContext
(),
LinearLayoutManager
.
VERTICAL
)
dividerDecoration
.
isLastItemDecorated
=
false
binding
.
listSettings
.
apply
{
binding
.
listSettings
.
apply
{
adapter
=
settingsAdapter
adapter
=
settingsAdapter
layoutManager
=
LinearLayoutManager
(
requireContext
())
layoutManager
=
LinearLayoutManager
(
requireContext
())
addItemDecoration
(
dividerDecoration
)
}
}
binding
.
toolbarSettings
.
setNavigationOnClickListener
{
binding
.
toolbarSettings
.
setNavigationOnClickListener
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment