|
|
|
@ -2,6 +2,7 @@ import 'dart:convert';
|
|
|
|
|
|
|
|
|
|
import 'package:collection/collection.dart'; |
|
|
|
|
import 'package:crypto/crypto.dart'; |
|
|
|
|
import 'package:flutter/foundation.dart'; |
|
|
|
|
import 'package:json_annotation/json_annotation.dart'; |
|
|
|
|
import 'package:meta/meta.dart'; |
|
|
|
|
import 'package:nextcloud/nextcloud.dart'; |
|
|
|
@ -36,7 +37,7 @@ class Account implements Credentials {
|
|
|
|
|
password: password, |
|
|
|
|
appPassword: password, |
|
|
|
|
userAgentOverride: userAgent, |
|
|
|
|
cookieJar: CookieJar(), |
|
|
|
|
cookieJar: !kIsWeb ? CookieJar() : null, |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
factory Account.fromJson(final Map<String, dynamic> json) => _$AccountFromJson(json); |
|
|
|
|