wip: fix liked null value

This commit is contained in:
2022-01-13 15:21:03 +08:00
parent 0f741d9ca8
commit 32739b2dd9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ class _MeWidgetState extends State<MeWidget> {
if (mounted && value != null)
setState(() {
_schemes = value;
_selected = value.first.uuid;
_selected = value.isEmpty ? null : value.first.uuid;
});
});
},