We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38b94f2 commit cff1e9cCopy full SHA for cff1e9c
src/client/game.cpp
@@ -1880,6 +1880,9 @@ void Game::processKeyInput()
1880
} else if (wasKeyDown(KeyType::INVENTORY)) {
1881
openInventory();
1882
} else if (input->cancelPressed()) {
1883
+#ifdef __ANDROID__
1884
+ m_android_chat_open = false;
1885
+#endif
1886
if (!gui_chat_console->isOpenInhibited()) {
1887
showPauseMenu();
1888
}
@@ -2079,6 +2082,7 @@ void Game::handleAndroidChatInput()
2079
2082
if (m_android_chat_open && porting::getInputDialogState() == 0) {
2080
2083
std::string text = porting::getInputDialogValue();
2081
2084
client->typeChatMessage(utf8_to_wide(text));
2085
2086
2087
2088
#endif
0 commit comments