Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Grechuhin <i.grechuhin@gmail.com>2017-04-06 11:13:56 +0300
committerSergey Yershov <syershov@maps.me>2017-04-06 13:23:48 +0300
commit117abb518150b7ff5b6447a65f2219a26c207fb4 (patch)
tree967ed219716e64ac4f4ff65b0349b9780cec1a8e
parent9489ea2eabc786d715ce9462f72f1a72bf1074ff (diff)
[MAPSME-4221] [ios] Fixed banners cache.ios-release-723beta-739android-gr-722
-rw-r--r--iphone/Maps/Core/Ads/BannersCache.swift4
1 files changed, 2 insertions, 2 deletions
diff --git a/iphone/Maps/Core/Ads/BannersCache.swift b/iphone/Maps/Core/Ads/BannersCache.swift
index 650d152d64..eb88f90f69 100644
--- a/iphone/Maps/Core/Ads/BannersCache.swift
+++ b/iphone/Maps/Core/Ads/BannersCache.swift
@@ -22,12 +22,12 @@ final class BannersCache: NSObject {
private func onCompletion(isAsync: Bool) {
guard let completion = completion else { return }
var bannerType: BannerType?
- for loadState in loadStates {
+ statesLoop: for loadState in loadStates {
switch loadState {
case .notLoaded(_): return
case .loaded(let type):
bannerType = type
- break
+ break statesLoop
case .error: continue
}
}