TF-3042 Delete newly created PublicAsset when discard identity changes

This commit is contained in:
DatDang
2024-08-07 16:01:13 +07:00
committed by Dat H. Pham
parent c42a913d82
commit 3b87d591e0
5 changed files with 48 additions and 0 deletions
@@ -470,6 +470,7 @@ class IdentityCreatorController extends BaseController {
void closeView(BuildContext context) {
isCompressingInlineImage.value = false;
clearFocusEditor(context);
publicAssetController?.discardChanges();
popBack();
}