make UrlPreviewController not autoDispose
This commit is contained in:
parent
60315de04a
commit
6281c1d13a
1 changed files with 6 additions and 4 deletions
|
|
@ -42,8 +42,10 @@ class UrlPreviewController extends AsyncNotifier<OpenGraphData?> {
|
|||
return null;
|
||||
}
|
||||
|
||||
static final provider = AsyncNotifierProvider.autoDispose
|
||||
.family<UrlPreviewController, OpenGraphData?, String>(
|
||||
UrlPreviewController.new,
|
||||
);
|
||||
static final provider =
|
||||
AsyncNotifierProvider.family<
|
||||
UrlPreviewController,
|
||||
OpenGraphData?,
|
||||
String
|
||||
>(UrlPreviewController.new);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue