fix theme / add history
This commit is contained in:
@@ -114,17 +114,12 @@ class BarScreenViewModel extends ChangeNotifier {
|
||||
|
||||
await barTabService.closeTab(tab.id);
|
||||
|
||||
_selectedTabId = null;
|
||||
await _reloadTabs();
|
||||
}
|
||||
|
||||
Future<void> closeTab(String tabId) async {
|
||||
await barTabService.closeTab(tabId);
|
||||
|
||||
if (_selectedTabId == tabId) {
|
||||
_selectedTabId = null;
|
||||
}
|
||||
|
||||
await _reloadTabs();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user