TF-4301 Replace LabelModalMixin with direct methods in LabelController

This commit is contained in:
dab246
2026-04-16 18:49:22 +07:00
committed by Dat H. Pham
parent 2fd890f488
commit 8ac68ed1a5
3 changed files with 42 additions and 70 deletions
@@ -45,10 +45,6 @@ extension HandleLabelActionTypeExtension on LabelController {
required AccountId? accountId,
required Label label,
}) async {
if (createNewLabelInteractor == null || editLabelInteractor == null) {
_handleEditLabelFailure(EditLabelFailure(const InteractorNotInitialized()));
return;
}
final verifyNameInteractor = getBinding<VerifyNameInteractor>();
if (verifyNameInteractor == null) {
_handleEditLabelFailure(EditLabelFailure(const InteractorNotInitialized()));