opt: image save dialog

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-12-29 15:04:03 +08:00
parent bdd927e7e3
commit 85733e071b
3 changed files with 25 additions and 14 deletions

View File

@@ -112,8 +112,8 @@ class GrpcRepo {
e.details?.firstOrNull?.getFieldOrNull(2),
allowMalformed: true,
);
msg = msg.replaceAll(
RegExp(r"[^a-zA-Z0-9\u4e00-\u9fa5,.;!?,。;!?]"), '');
msg =
msg.replaceAll(RegExp(r"[^a-zA-Z0-9\u4e00-\u9fa5,.;?,。;!?]"), '');
if (msg.isNotEmpty) {
return {'status': false, 'msg': msg};
} else {