From 55553317f34742a4e9f888d19758201b6765ae91 Mon Sep 17 00:00:00 2001 From: Satindar Dhillon Date: Thu, 5 May 2022 11:18:57 -0700 Subject: [PATCH] set isLoading to false after create label request completes --- .../OmnivoreKit/Sources/App/Views/Labels/LabelsViewModel.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apple/OmnivoreKit/Sources/App/Views/Labels/LabelsViewModel.swift b/apple/OmnivoreKit/Sources/App/Views/Labels/LabelsViewModel.swift index 7870449e2..92aa9df2a 100644 --- a/apple/OmnivoreKit/Sources/App/Views/Labels/LabelsViewModel.swift +++ b/apple/OmnivoreKit/Sources/App/Views/Labels/LabelsViewModel.swift @@ -43,6 +43,7 @@ import Views color: color.hex ?? "", description: description ) else { + isLoading = false return } @@ -51,6 +52,7 @@ import Views unselectedLabels.insert(label, at: 0) } + isLoading = false showCreateEmailModal = false }