fix null check
This commit is contained in:
@@ -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