fix: greyed out empty tab button
This commit is contained in:
@@ -662,7 +662,7 @@ class _SelectedTabDetails extends StatelessWidget {
|
||||
),
|
||||
),
|
||||
FilledButton(
|
||||
onPressed: onCloseTabPressed,
|
||||
onPressed: tab.items.isEmpty ? null : onCloseTabPressed,
|
||||
child: const Text('Close tab'),
|
||||
),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user