更新ios未安装微信时,隐藏微信图标
This commit is contained in:
@@ -78,8 +78,8 @@ class _MhtSleepReportReturnPageState extends State<MhtSleepReportReturnPage> {
|
||||
final macB = widget.data['bind_mac_b'];
|
||||
final list = deviceController.personnelList.value;
|
||||
final filteredList = list
|
||||
.where(
|
||||
(p) => p['mac'.tr] == macA || p['mac'.tr] == macB)
|
||||
.where((p) =>
|
||||
p['mac'.tr] == macA || p['mac'.tr] == macB)
|
||||
.toList();
|
||||
|
||||
// 默认只赋值一次
|
||||
@@ -118,7 +118,8 @@ class _MhtSleepReportReturnPageState extends State<MhtSleepReportReturnPage> {
|
||||
.map<String>((d) => "${d["mac"]}")
|
||||
.toList(),
|
||||
optionLabels: filteredList
|
||||
.map<String>((d) => d["name"] ?? d["mac".tr])
|
||||
.map<String>(
|
||||
(d) => d["name"] ?? d["mac".tr])
|
||||
.toList(),
|
||||
onChanged: (val) {
|
||||
WidgetsBinding.instance
|
||||
@@ -183,7 +184,7 @@ class _MhtSleepReportReturnPageState extends State<MhtSleepReportReturnPage> {
|
||||
children: [
|
||||
returnIconButtomNew(),
|
||||
Text(
|
||||
'健康报告'.tr,
|
||||
'睡眠报告'.tr,
|
||||
style: TextStyle(
|
||||
fontFamily: 'Readex Pro',
|
||||
color: themeController.currentColor.sc3,
|
||||
|
||||
Reference in New Issue
Block a user