iOS: Close the keyboard on one more event. Makes it easier to get rid of it if it gets stuck.

This commit is contained in:
Henrik Rydgård committed 2026-03-08 13:03:00 +01:00
1 parent 9e0cb93085
commit 6ad06e00a4
5 files changed
+8

No files matched your search

+4
View File
@@ -264,6 +264,10 @@ void UIDialogScreen::sendMessage(UIMessage message, const char *value) {
}
}
UIDialogScreen::~UIDialogScreen() {
System_NotifyUIEvent(UIEventNotification::DIALOG_CLOSED);
}
bool UIScreen::IsOnTop() const {
return screenManager()->topScreen() == this;
}
+1
View File
@@ -91,6 +91,7 @@ private:
class UIDialogScreen : public UIScreen {
public:
UIDialogScreen() : UIScreen(), finished_(false) {}
~UIDialogScreen() override;
bool key(const KeyInput &key) override;
void sendMessage(UIMessage message, const char *value) override;