fix:调整简体中文下才显示图片弹窗
This commit is contained in:
parent
fe6480430f
commit
d3aee05534
@ -17,9 +17,13 @@ import 'package:star_lock/talk/starChart/proto/talk_expect.pb.dart';
|
||||
import 'package:star_lock/talk/starChart/proto/talk_request.pb.dart';
|
||||
import 'package:star_lock/tools/push/xs_jPhush.dart';
|
||||
import 'package:star_lock/tools/storage.dart';
|
||||
import 'package:star_lock/translations/current_locale_tool.dart';
|
||||
|
||||
class UdpTalkRequestHandler extends ScpMessageBaseHandle
|
||||
implements ScpMessageHandler {
|
||||
RxString currentLanguage =
|
||||
CurrentLocaleTool.getCurrentLocaleString().obs; // 当前选择语言
|
||||
|
||||
@override
|
||||
void handleReq(ScpMessage scpMessage) async {
|
||||
// 回复成功
|
||||
@ -107,7 +111,9 @@ class UdpTalkRequestHandler extends ScpMessageBaseHandle
|
||||
}
|
||||
};
|
||||
|
||||
XSJPushProvider().showCustomNotification(message);
|
||||
if (currentLanguage.value == 'zh_CN') {
|
||||
XSJPushProvider().showCustomNotification(message);
|
||||
}
|
||||
}
|
||||
/*
|
||||
const AndroidNotificationDetails androidPlatformChannelSpecifics =
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user