fix hide ab tag when custom client startup (#8795)

not custom: 'Y', ''
custom: 'Y', 'N'
should not use isNotEmpty

Signed-off-by: 21pages <sunboeasy@gmail.com>
This commit is contained in:
21pages 2024-07-23 21:35:05 +08:00 committed by GitHub
parent 97f26f880b
commit eef091d4e8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -87,7 +87,7 @@ class _PeerTabPageState extends State<PeerTabPage>
: PeerUiType.list;
}
hideAbTagsPanel.value =
bind.mainGetLocalOption(key: kOptionHideAbTagsPanel).isNotEmpty;
bind.mainGetLocalOption(key: kOptionHideAbTagsPanel) == 'Y';
super.initState();
}