fix: fix typo

This commit is contained in:
Anton Stubenbord
2023-04-28 23:11:30 +02:00
committed by GitHub
parent b4a9cf2c39
commit 7bf0f8c0ed

View File

@@ -268,7 +268,7 @@ class _FullscreenLabelFormState<T extends Label> extends State<FullscreenLabelFo
selectedTileColor: Theme.of(context).focusColor, selectedTileColor: Theme.of(context).focusColor,
title: Text(widget.options[id]!.name), title: Text(widget.options[id]!.name),
onTap: onTap, onTap: onTap,
enabled: widget.allowSelectUnassigned ? true : widget.options[id]!.documentCount == 0, enabled: widget.allowSelectUnassigned ? true : widget.options[id]!.documentCount != 0,
), ),
)!; // Never null, since we already return on unset before )!; // Never null, since we already return on unset before
} }