We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16a5796 commit 2e7b9a1Copy full SHA for 2e7b9a1
SwiftFlowGitHubBrowser/Routes/Routes.swift
@@ -181,6 +181,13 @@ class MainViewRoutable: Routable {
181
return BookmarkRoutable()
182
}
183
184
+ // We can run into the following fatal error when back button on repository detail &
185
+ // bookmark button on the main view controller are pressed very quickly subsequently.
186
+ // This happens because the manual route update after the back button tap on the repository
187
+ // detail view hasn't happened yet.
188
+ // We could work around this with more hacks, but it wouldn't be useful to this example code.
189
+ // A discussion/brainstorm for better ways of intercepting back button is going on here:
190
+ // https://github.com/ReSwift/ReSwift-Router/issues/17
191
fatalError("Cannot handle this route change!")
192
193
0 commit comments