Skip to content

Commit

Permalink
cobaltians/Cobalt#106: add missing default value if controller config…
Browse files Browse the repository at this point in the history
…uration is not found
  • Loading branch information
Sébastien Vitard committed Jun 30, 2016
1 parent df0e0be commit 99b05c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Cobalt/Cobalt.m
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ + (CobaltViewController *)cobaltViewControllerForController:(NSString *)controll
CobaltViewController *viewController = [[CobaltViewController alloc] initWithNibName:nib
bundle:cobaltBundle];
viewController.pageName = page;
viewController.background = [UIColor whiteColor];
viewController.isPullToRefreshEnabled = false;
viewController.isInfiniteScrollEnabled = false;
viewController.infiniteScrollOffset = 0;
Expand Down

0 comments on commit 99b05c8

Please sign in to comment.