Skip to content

Commit

Permalink
feat: add experimental option for map name guide pref
Browse files Browse the repository at this point in the history
  • Loading branch information
aliernfrog committed Jan 28, 2024
1 parent bb829aa commit b712cd2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,13 @@ private fun ExperimentalSettings(
settingsViewModel.showMaterialYouOption = it
}
)
SwitchRow(
title = stringResource(R.string.settings_experimental_showMapNameFieldGuide),
checked = settingsViewModel.prefs.showMapNameFieldGuide,
onCheckedChange = {
settingsViewModel.prefs.showMapNameFieldGuide = it
}
)
ButtonRow(
title = stringResource(R.string.settings_experimental_checkUpdates)
) {
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@
<string name="settings_experimental_enabled">Experimental settings enabled!</string>
<string name="settings_experimental_description">These settings are not intended for normal usage and they might break LAC Tool when misused</string>
<string name="settings_experimental_showMaterialYouOption">Show Material You option</string>
<string name="settings_experimental_showMapNameFieldGuide">Show map name field guide</string>
<string name="settings_experimental_checkUpdates">Check updates (ignore version)</string>
<string name="settings_experimental_showUpdateToast">Show update toast</string>
<string name="settings_experimental_showUpdateDialog">Show update dialog</string>
Expand Down

0 comments on commit b712cd2

Please sign in to comment.