mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Use HasCapability directly as an argument to ranges::all_of
This commit is contained in:
parent
dba9cada83
commit
c9d58d4259
1 changed files with 1 additions and 3 deletions
|
@ -624,9 +624,7 @@ bool ByDefault() {
|
||||||
// To not to play sound with Don't Disturb activated
|
// To not to play sound with Don't Disturb activated
|
||||||
// (no, using sound capability is not a way)
|
// (no, using sound capability is not a way)
|
||||||
"inhibitions",
|
"inhibitions",
|
||||||
}, [](const auto *capability) {
|
}, HasCapability);
|
||||||
return HasCapability(capability);
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Create(Window::Notifications::System *system) {
|
void Create(Window::Notifications::System *system) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue