mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-23 02:00:20 +07:00
format code
This commit is contained in:
@@ -150,8 +150,6 @@ void MacOSUtils::installInterfaceThemeObserver(std::function<void()> callback) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Copy into block storage: capturing the parameter by reference would dangle
|
||||
// once this function returns.
|
||||
const std::function<void()> themeCallback = std::move(callback);
|
||||
|
||||
NSDistributedNotificationCenter *center = [NSDistributedNotificationCenter defaultCenter];
|
||||
|
||||
Reference in New Issue
Block a user