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;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
static final provider = AsyncNotifierProvider.autoDispose
|
static final provider =
|
||||||
.family<UrlPreviewController, OpenGraphData?, String>(
|
AsyncNotifierProvider.family<
|
||||||
UrlPreviewController.new,
|
UrlPreviewController,
|
||||||
);
|
OpenGraphData?,
|
||||||
|
String
|
||||||
|
>(UrlPreviewController.new);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue