fix win cookie manage

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-09-26 20:27:47 +08:00
parent 34bdfe1641
commit ee8af925be

View File

@@ -123,7 +123,10 @@ abstract class LoginUtils {
GrpcReq.updateHeaders(null);
await Future.wait([
if (!Platform.isLinux) web.CookieManager.instance().deleteAllCookies(),
if (!Platform.isLinux)
web.CookieManager.instance(
webViewEnvironment: webViewEnvironment,
).deleteAllCookies(),
GStorage.userInfo.delete('userInfoCache'),
]);