From cde6b8e9d67f510ff3eb1ee88c3a5d23c2f2371d Mon Sep 17 00:00:00 2001 From: gmc Date: Fri, 9 Aug 2024 16:53:19 +0200 Subject: [PATCH] [OSM-1511] leave edit mode on becomeInactive --- .../TwoFAS/Root/Modules/Tokens/Presenter/TokensPresenter.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/TwoFAS/TwoFAS/Root/Modules/Tokens/Presenter/TokensPresenter.swift b/TwoFAS/TwoFAS/Root/Modules/Tokens/Presenter/TokensPresenter.swift index 6086eede..c3dca8e1 100644 --- a/TwoFAS/TwoFAS/Root/Modules/Tokens/Presenter/TokensPresenter.swift +++ b/TwoFAS/TwoFAS/Root/Modules/Tokens/Presenter/TokensPresenter.swift @@ -106,6 +106,9 @@ extension TokensPresenter { if isSearching { handleClearSearchPhrase() } + if currentState == .edit { + handleLeaveEditMode() + } } // MARK: - External Actions