We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf9e4fc commit 1b32b70Copy full SHA for 1b32b70
app/src/main/java/io/github/sds100/keymapper/mappings/keymaps/trigger/BaseConfigTriggerViewModel.kt
@@ -273,7 +273,10 @@ abstract class BaseConfigTriggerViewModel(
273
}
274
275
276
- recordTrigger.state.onEach { state ->
+ // Drop the first state in case it is in the Completed state so the
277
+ // "button not detected" bottom sheet isn't shown when
278
+ // the screen is opened.
279
+ recordTrigger.state.drop(1).onEach { state ->
280
if (state is RecordTriggerState.Completed &&
281
state.recordedKeys.isEmpty() &&
282
onboarding.showNoKeysDetectedBottomSheet.first() &&
0 commit comments