Skip to content

Commit

Permalink
Hide from minimal build
Browse files Browse the repository at this point in the history
  • Loading branch information
dshokouhi committed Jul 18, 2023
1 parent cf81982 commit 1282869
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ class SettingsFragment(
}

findPreference<PreferenceCategory>("android_auto")?.let {
it.isVisible = Build.VERSION.SDK_INT >= Build.VERSION_CODES.O
it.isVisible = Build.VERSION.SDK_INT >= Build.VERSION_CODES.O && BuildConfig.FLAVOR == "full"
}

findPreference<Preference>("auto_favorites")?.setOnPreferenceClickListener {
Expand Down

0 comments on commit 1282869

Please sign in to comment.