Daily `arc lint --take CLANGFORMAT`
Reviewed By: zertosh Differential Revision: D31138547 fbshipit-source-id: ba134ae7f057c918eaefdc6310f7663e187e9749
This commit is contained in:
Родитель
dbd5c3d8e5
Коммит
1a1c3a6405
|
@ -115,8 +115,10 @@ RCT_EXPORT_MODULE()
|
|||
CGSize screenSize = [UIScreen mainScreen].bounds.size;
|
||||
|
||||
UIWindow *window = RCTSharedApplication().keyWindow;
|
||||
self->_window = [[UIWindow alloc] initWithFrame:CGRectMake(0, 0, screenSize.width, window.safeAreaInsets.top + 10)];
|
||||
self->_label = [[UILabel alloc] initWithFrame:CGRectMake(0, window.safeAreaInsets.top - 10, screenSize.width, 20)];
|
||||
self->_window =
|
||||
[[UIWindow alloc] initWithFrame:CGRectMake(0, 0, screenSize.width, window.safeAreaInsets.top + 10)];
|
||||
self->_label =
|
||||
[[UILabel alloc] initWithFrame:CGRectMake(0, window.safeAreaInsets.top - 10, screenSize.width, 20)];
|
||||
[self->_window addSubview:self->_label];
|
||||
|
||||
self->_window.windowLevel = UIWindowLevelStatusBar + 1;
|
||||
|
|
Загрузка…
Ссылка в новой задаче