TF-4233 Implement edit label action
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import 'package:jmap_dart_client/jmap/account_id.dart';
|
||||
import 'package:labels/model/label.dart';
|
||||
import 'package:tmail_ui_user/features/labels/data/datasource/label_datasource.dart';
|
||||
import 'package:tmail_ui_user/features/labels/domain/model/edit_label_request.dart';
|
||||
import 'package:tmail_ui_user/features/labels/domain/repository/label_repository.dart';
|
||||
|
||||
class LabelRepositoryImpl extends LabelRepository {
|
||||
@@ -17,4 +18,9 @@ class LabelRepositoryImpl extends LabelRepository {
|
||||
Future<Label> createNewLabel(AccountId accountId, Label labelData) {
|
||||
return _labelDatasource.createNewLabel(accountId, labelData);
|
||||
}
|
||||
|
||||
@override
|
||||
Future<Label> editLabel(AccountId accountId, EditLabelRequest labelRequest) {
|
||||
return _labelDatasource.editLabel(accountId, labelRequest);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user