(view = this.getActiveSync())
| 500 | } |
| 501 | |
| 502 | private getPreviousSync(view = this.getActiveSync()): ViewController | undefined { |
| 503 | if (!view) { |
| 504 | return undefined; |
| 505 | } |
| 506 | const views = this.views; |
| 507 | const index = views.indexOf(view); |
| 508 | return index > 0 ? views[index - 1] : undefined; |
| 509 | } |
| 510 | |
| 511 | /** |
| 512 | * Adds a navigation stack change to the queue and schedules it to run. |
no test coverage detected