mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
fix win cookie manage
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -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'),
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user