fix(ios): support mod index networking and text input dismissal

This commit is contained in:
Adrian Castro
2026-08-03 20:19:38 +02:00
parent 0f7261dd92
commit 59b55a8f37
6 changed files with 90 additions and 9 deletions
+1 -2
View File
@@ -1214,8 +1214,7 @@ local function buildFindPanel(imp, parent, m)
imp.findQuery or "", Strings("Search mods"),
imp._findSearchFocus == true,
function()
imp._findSearchFocus = true
imp:_armTextInput()
imp:_toggleFindSearchFocus()
end)
local cats = (imp.findIndex and imp.findIndex.categories) or {}
+9
View File
@@ -1733,6 +1733,15 @@ function RomImporter:_switchTab(id)
self:_disarmTextInput()
end
function RomImporter:_toggleFindSearchFocus()
self._findSearchFocus = not self._findSearchFocus
if self._findSearchFocus then
self:_armTextInput()
else
self:_disarmTextInput()
end
end
-- ------- settings gear (options.lua + enabled mods' option schemas)
function RomImporter:_openSettings()