fix waiting for image, should not await dialogManager.show

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages committed 2023-08-09 15:12:24 +08:00
1 parent a35635f4bb
commit 52bffd4030
3 files changed
+27 -14

No files matched your search

+6
View File
@@ -1266,6 +1266,12 @@ pub fn session_change_prefer_codec(session_id: SessionID) {
}
}
pub fn session_on_waiting_for_image_dialog_show(session_id: SessionID) {
if let Some(session) = SESSIONS.read().unwrap().get(&session_id) {
session.ui_handler.on_waiting_for_image_dialog_show();
}
}
pub fn main_set_home_dir(_home: String) {
#[cfg(any(target_os = "android", target_os = "ios"))]
{