msgbox & translations

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2022-10-14 11:19:49 +08:00
parent 5ddb10366e
commit 77de0d05f9
42 changed files with 271 additions and 64 deletions

View File

@@ -310,7 +310,7 @@ impl InvokeUiSession for FlutterHandler {
);
}
fn msgbox(&self, msgtype: &str, title: &str, text: &str, retry: bool) {
fn msgbox(&self, msgtype: &str, title: &str, text: &str, link: &str, retry: bool) {
let has_retry = if retry { "true" } else { "" };
self.push_event(
"msgbox",
@@ -318,6 +318,7 @@ impl InvokeUiSession for FlutterHandler {
("type", msgtype),
("title", title),
("text", text),
("link", link),
("hasRetry", has_retry),
],
);