Skip to content
Snippets Groups Projects
Commit 9b2b3de5 authored by jakobsbode's avatar jakobsbode
Browse files

do not present connectionDetails, if the first time credentials failed in Onboarding.

parent a112688b
No related branches found
No related tags found
No related merge requests found
...@@ -139,6 +139,8 @@ ...@@ -139,6 +139,8 @@
* @brief Method to tell the onboarding view controller to automatically move to the next page. * @brief Method to tell the onboarding view controller to automatically move to the next page.
*/ */
- (void)moveNextPage; - (void)moveNextPage;
- (void)gotoLastPage;
- (void)fadeBackground:(UIImage *) newImage; - (void)fadeBackground:(UIImage *) newImage;
......
...@@ -318,6 +318,11 @@ static NSString * const kSkipButtonText = @"Skip"; ...@@ -318,6 +318,11 @@ static NSString * const kSkipButtonText = @"Skip";
[self.pageControl setCurrentPage:indexOfNextPage]; [self.pageControl setCurrentPage:indexOfNextPage];
} }
} }
- (void)gotoLastPage {
[self.pageVC setViewControllers:@[self.viewControllers[self.viewControllers.count-1]] direction:UIPageViewControllerNavigationDirectionForward animated:YES completion:nil];
[self.pageControl setCurrentPage:self.viewControllers.count-1];
}
#pragma mark - Onboarding content view controller delegate #pragma mark - Onboarding content view controller delegate
......
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment