improve tab insertion process
This commit is contained in:
1 parent
8848bd5d09
commit
61267c899d
28 files changed
+2109
-91
No files matched your search
@@ -207,6 +207,7 @@ class FeedArticleScreen extends HookConsumerWidget {
|
||||
url: articleLink.uri,
|
||||
private: isPrivate,
|
||||
container: const Value(null),
|
||||
selectTab: true,
|
||||
);
|
||||
|
||||
if (context.mounted) {
|
||||
@@ -251,7 +252,11 @@ class FeedArticleScreen extends HookConsumerWidget {
|
||||
|
||||
await ref
|
||||
.read(tabRepositoryProvider.notifier)
|
||||
.addTab(url: url, private: isPrivate);
|
||||
.addTab(
|
||||
url: url,
|
||||
private: isPrivate,
|
||||
selectTab: true,
|
||||
);
|
||||
|
||||
if (context.mounted) {
|
||||
showTabOpenedMessage(
|
||||
|
||||
Reference in new issue
Block a user