improved tab handling by id

This commit is contained in:
Fabian Freund
2024-08-19 04:27:47 +02:00
parent a465195ec4
commit 23dad27d61
12 changed files with 78 additions and 40 deletions
@@ -23,7 +23,7 @@ class SwitchNewTabController extends _$SwitchNewTabController {
.read(webViewRepositoryProvider.notifier)
.addTab(WebView(tab: newTab));
ref.read(webViewTabControllerProvider.notifier).showTab(newTab.key);
ref.read(webViewTabControllerProvider.notifier).showTab(newTab.id);
},
);
}
@@ -7,7 +7,7 @@ part of 'switch_new_tab.dart';
// **************************************************************************
String _$switchNewTabControllerHash() =>
r'acc20371e95db182cfc5cdc924a289ff56981692';
r'a5b8f7fd71c8cb6cc2023b41504e5cd467c5b063';
/// See also [SwitchNewTabController].
@ProviderFor(SwitchNewTabController)