Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TIMOB-24805] iOS: Don't require large window-titles value to be set #9541

Merged
merged 12 commits into from
Nov 14, 2017
4 changes: 2 additions & 2 deletions iphone/Classes/TiUIWindowProxy.m
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@ - (void)setTitle:(NSString *)title_
- (void)setLargeTitleEnabled:(id)value
{
ENSURE_UI_THREAD(setLargeTitleEnabled, value);
ENSURE_TYPE(value, NSNumber);
ENSURE_TYPE_OR_NIL(value, NSNumber);

[self replaceValue:value forKey:@"largeTitleEnabled" notification:NO];

Expand All @@ -821,7 +821,7 @@ - (void)setLargeTitleEnabled:(id)value
- (void)setLargeTitleDisplayMode:(id)value
{
ENSURE_UI_THREAD(setLargeTitleDisplayMode, value);
ENSURE_TYPE(value, NSNumber);
ENSURE_TYPE_OR_NIL(value, NSNumber);

[self replaceValue:value forKey:@"largeTitleDisplayMode" notification:NO];

Expand Down