fix(worker_row): correct condition for displaying cancel button
This commit is contained in:
@@ -190,7 +190,7 @@ class WorkerRow extends StatelessWidget {
|
|||||||
leadingIcon: UiIcons.star,
|
leadingIcon: UiIcons.star,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
if (!showCancelButton && onCancel != null)
|
if (showCancelButton && onCancel != null)
|
||||||
GestureDetector(
|
GestureDetector(
|
||||||
onTap: onCancel,
|
onTap: onCancel,
|
||||||
child: UiChip(
|
child: UiChip(
|
||||||
|
|||||||
Reference in New Issue
Block a user