mirror of
https://github.com/electron/electron.git
synced 2026-01-24 23:08:10 -05:00
Drop nullable for consistency
This commit is contained in:
@@ -389,8 +389,8 @@ bool ScopedDisableResize::disable_resize_ = false;
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (nullable NSTouchBarItem*)touchBar:(NSTouchBar*)touchBar
|
||||
makeItemForIdentifier:(NSTouchBarItemIdentifier)identifier {
|
||||
- (NSTouchBarItem*)touchBar:(NSTouchBar*)touchBar
|
||||
makeItemForIdentifier:(NSTouchBarItemIdentifier)identifier {
|
||||
if (touchBar && atom_touch_bar_)
|
||||
return [atom_touch_bar_ makeItemForIdentifier:identifier];
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user