[OSM-1511] leave edit mode on becomeInactive

This commit is contained in:
gmc 2024-08-09 16:53:19 +02:00
parent 6ac21e4cb6
commit cde6b8e9d6

View File

@ -106,6 +106,9 @@ extension TokensPresenter {
if isSearching { if isSearching {
handleClearSearchPhrase() handleClearSearchPhrase()
} }
if currentState == .edit {
handleLeaveEditMode()
}
} }
// MARK: - External Actions // MARK: - External Actions