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,
|
||||
),
|
||||
),
|
||||
if (!showCancelButton && onCancel != null)
|
||||
if (showCancelButton && onCancel != null)
|
||||
GestureDetector(
|
||||
onTap: onCancel,
|
||||
child: UiChip(
|
||||
|
||||
Reference in New Issue
Block a user