feat: hide foreground webapp when switching sidebar pages
This commit is contained in:
@@ -35,4 +35,9 @@ interface WebAppHost {
|
||||
// 将标签状态推送到桌面 H5 顶栏
|
||||
// Push the tab state to the desktop H5 topbar
|
||||
fun syncTabs(tabs: List<Tab>)
|
||||
|
||||
// 隐藏所有内容 WebView(把前台 webapp 丢到后台,标签状态保留)
|
||||
// Hide all content WebViews (send the foreground webapp to background,
|
||||
// keeping the tab state)
|
||||
fun hideAll()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user