File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ import 'package:miru_app/utils/database.dart';
1515import 'package:miru_app/utils/extension.dart' ;
1616import 'package:miru_app/utils/extension_runtime.dart' ;
1717import 'package:miru_app/utils/i18n.dart' ;
18+ import 'package:miru_app/utils/miru_directory.dart' ;
1819import 'package:miru_app/widgets/messenger.dart' ;
1920
2021class DetailPageController extends GetxController {
@@ -68,9 +69,11 @@ class DetailPageController extends GetxController {
6869 icon: const Icon (fluent.FluentIcons .pop_expand),
6970 onPressed: () async {
7071 final webview = await WebviewWindow .create (
71- configuration: CreateConfiguration (
72- title: detail! .title,
73- ));
72+ configuration: CreateConfiguration (
73+ userDataFolderWindows: await MiruDirectory .getDirectory,
74+ title: detail! .title,
75+ ),
76+ );
7477 webview
7578 ..addOnUrlRequestCallback ((url) async {
7679 if (Uri .parse (url).host != Uri .parse (extension ! .webSite).host) {
You can’t perform that action at this time.
0 commit comments