Skip to content

Commit

Permalink
Fix to keyboard scan state
Browse files Browse the repository at this point in the history
  • Loading branch information
OwenMcGirr committed Mar 6, 2024
1 parent 59a60e4 commit 83f4ccc
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@ object KeyboardInfo {
isKeyboardVisible = false
keyboardHeight = 0

// Go back to previous state
ScanReceiver.state = previousScanReceiverState
// Go back to previous state if not in menu state
if (ScanReceiver.state != ScanReceiver.ReceiverState.MENU) {
ScanReceiver.state = previousScanReceiverState
}
}
Log.d("KeyboardInfo", "isKeyboardVisible: $isKeyboardVisible window count: ${windows.size}")
}
Expand Down

0 comments on commit 83f4ccc

Please sign in to comment.