new: ExpandTile & fix: macos Podfile

This commit is contained in:
lollipopkit
2023-10-14 22:28:18 +08:00
parent 79df3c847e
commit c9d54f4fea
12 changed files with 56 additions and 65 deletions

View File

@@ -21,9 +21,13 @@ class PlatformPublicSettings {
success: (can) {
return ListTile(
title: Text(l10n.bioAuth),
subtitle:
can ? null : const Text('Not available', style: UIs.textGrey),
trailing: can
subtitle: can == true
? null
: const Text(
'Not available',
style: UIs.textGrey,
),
trailing: can == true
? StoreSwitch(
prop: Stores.setting.useBioAuth,
func: (val) async {
@@ -42,7 +46,6 @@ class PlatformPublicSettings {
: null,
);
},
noData: UIs.placeholder,
);
}
}