File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
SwiftFlowGitHubBrowser/Routes Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -181,6 +181,13 @@ class MainViewRoutable: Routable {
181
181
return BookmarkRoutable ( )
182
182
}
183
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
184
191
fatalError ( " Cannot handle this route change! " )
185
192
}
186
193
You can’t perform that action at this time.
0 commit comments