TF-2177 Fix download attachment not working on web
Signed-off-by: dab246 <tdvu@linagora.com> (cherry picked from commit 09cbfe5245c206670aa2191c151fd8f2ea48df3a)
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import 'package:core/utils/app_logger.dart';
|
||||
import 'package:model/account/personal_account.dart';
|
||||
import 'package:tmail_ui_user/features/login/data/datasource/account_datasource.dart';
|
||||
import 'package:tmail_ui_user/features/login/domain/repository/account_repository.dart';
|
||||
@@ -16,12 +15,11 @@ class AccountRepositoryImpl extends AccountRepository {
|
||||
|
||||
@override
|
||||
Future<void> setCurrentAccount(PersonalAccount newCurrentAccount) {
|
||||
log('AccountRepositoryImpl::setCurrentAccount(): $newCurrentAccount');
|
||||
return _accountDatasource.setCurrentAccount(newCurrentAccount);
|
||||
}
|
||||
|
||||
@override
|
||||
Future<void> deleteCurrentAccount(String accountId) {
|
||||
return _accountDatasource.deleteCurrentAccount(accountId);
|
||||
Future<void> deleteCurrentAccount(String hashId) {
|
||||
return _accountDatasource.deleteCurrentAccount(hashId);
|
||||
}
|
||||
}
|
||||
@@ -36,7 +36,7 @@ class CredentialRepositoryImpl extends CredentialRepository {
|
||||
}
|
||||
|
||||
@override
|
||||
Future<AuthenticationInfoCache?> getAuthenticationInfoStored() {
|
||||
Future<AuthenticationInfoCache> getAuthenticationInfoStored() {
|
||||
return _authenticationInfoCacheManager.getAuthenticationInfoStored();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user