|
@@ -44,13 +44,13 @@
|
|
|
}
|
|
|
|
|
|
- (void)onScreenLocked:(NSNotification*)notification {
|
|
|
- for (auto& emitter : self->emitters) {
|
|
|
+ for (auto*& emitter : self->emitters) {
|
|
|
emitter->Emit("lock-screen");
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- (void)onScreenUnlocked:(NSNotification*)notification {
|
|
|
- for (auto& emitter : self->emitters) {
|
|
|
+ for (auto*& emitter : self->emitters) {
|
|
|
emitter->Emit("unlock-screen");
|
|
|
}
|
|
|
}
|