feat:修复当选择跟随系统是简体中文时不显示微信公众号推送
This commit is contained in:
parent
f8eb6ea977
commit
97a36b5840
@ -215,7 +215,7 @@ class _MineSetPageState extends State<MineSetPage>
|
|||||||
child: Obx(_isPushNotificationSwitch))),
|
child: Obx(_isPushNotificationSwitch))),
|
||||||
// if (F.appFlavor == Flavor.sky)
|
// if (F.appFlavor == Flavor.sky)
|
||||||
Visibility(
|
Visibility(
|
||||||
visible: state.currentLanguageName == '简体中文'.tr,
|
visible: state.currentLanguageCode == 'zh_CN',
|
||||||
child: CommonItem(
|
child: CommonItem(
|
||||||
leftTitel: '微信公众号推送'.tr,
|
leftTitel: '微信公众号推送'.tr,
|
||||||
rightTitle: '',
|
rightTitle: '',
|
||||||
|
|||||||
@ -35,6 +35,10 @@ class MineSetState {
|
|||||||
.lanTitle;
|
.lanTitle;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
String get currentLanguageCode {
|
||||||
|
return currentLanguage.value;
|
||||||
|
}
|
||||||
|
|
||||||
RxBool isAmazonAlexa = false.obs; //亚马逊Alexa
|
RxBool isAmazonAlexa = false.obs; //亚马逊Alexa
|
||||||
RxBool isGoogleHome = false.obs; //谷歌Home
|
RxBool isGoogleHome = false.obs; //谷歌Home
|
||||||
Rx<AmazonAlexa> amazonAlexaData = AmazonAlexa().obs;
|
Rx<AmazonAlexa> amazonAlexaData = AmazonAlexa().obs;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user