mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-26 22:53:15 -04:00
chore: update to objc2 frameworks v0.3.2
This commit is contained in:
committed by
Kirill Chibisov
parent
d815bc089c
commit
b811e9d878
@@ -191,7 +191,7 @@ impl EventLoop {
|
||||
// Override `sendEvent:` on the application to forward to our application state.
|
||||
override_send_event(&app);
|
||||
|
||||
let center = unsafe { NSNotificationCenter::defaultCenter() };
|
||||
let center = NSNotificationCenter::defaultCenter();
|
||||
|
||||
let weak_app_state = Rc::downgrade(&app_state);
|
||||
let _did_finish_launching_observer = create_observer(
|
||||
|
||||
Reference in New Issue
Block a user