Web app minimization

This commit is contained in:
Ilya Laktyushin
2024-06-25 22:26:55 +04:00
parent 7d5d9ba7ba
commit 2b1d09fb5a
21 changed files with 1386 additions and 760 deletions

View File

@@ -2196,7 +2196,11 @@ public func standaloneWebAppController(
controller.getSourceRect = getSourceRect
controller.title = params.botName
controller.shouldMinimizeOnSwipe = {
return false
if params.source != .menu {
return true
} else {
return false
}
}
return controller
}