Skip to content

Commit

Permalink
Stop showing divider when analytics is not included (mihonapp/mihon#1778
Browse files Browse the repository at this point in the history
)

(cherry picked from commit 8b28a9bceeb43330d9b42cf2b9a98a072cf9aa19)
  • Loading branch information
Animeboynz authored and cuong-tran committed Feb 27, 2025
1 parent e14d004 commit 9e7e450
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,13 +178,13 @@ internal class PermissionStep : OnboardingStep {
}
// KMK <--

if (!analyticsIncluded) return@Column

HorizontalDivider(
modifier = Modifier.padding(vertical = 8.dp, horizontal = 16.dp),
color = MaterialTheme.colorScheme.onPrimaryContainer,
)

if (!analyticsIncluded) return@Column

val crashlyticsPref = privacyPreferences.crashlytics()
val crashlytics by crashlyticsPref.collectAsState()
PermissionSwitch(
Expand Down

0 comments on commit 9e7e450

Please sign in to comment.