fix null check
This commit is contained in:
1 parent
915fc460b5
commit
58ebdf8421
1 file changed
+1
-1
@@ -462,7 +462,7 @@ class TabTreePreview extends HookConsumerWidget {
|
|||||||
tabStateProvider(entity.tabId).select((value) => value?.isPrivate),
|
tabStateProvider(entity.tabId).select((value) => value?.isPrivate),
|
||||||
);
|
);
|
||||||
|
|
||||||
if (isTabPrivate != null) {
|
if (isTabPrivate == null) {
|
||||||
return const SizedBox.shrink();
|
return const SizedBox.shrink();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user