Skip to content

Commit a6fd378

Browse files
committed
Merge branch 'hotfix/13232'
2 parents b37efda + 0ca81f3 commit a6fd378

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

OpenStack Summit/OpenStack Summit/LaunchScreenViewController.swift

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,9 +186,17 @@ final class LaunchScreenViewController: UIViewController, MessageEnabledViewCont
186186
case let .error(error):
187187

188188
print("Error getting summits: \(error)")
189-
190-
// try again
191-
controller.loadSummits()
189+
190+
if controller.isDataLoaded {
191+
192+
// load stored summit
193+
controller.loadData()
194+
}
195+
else {
196+
197+
// try again
198+
controller.loadSummits()
199+
}
192200

193201
case let .value(page):
194202

0 commit comments

Comments
 (0)