mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-26 23:42:09 +00:00
Hide native notification details on lock screen.
This commit is contained in:
@@ -727,10 +727,6 @@ bool SkipFlashBounce() {
|
||||
return Inhibited();
|
||||
}
|
||||
|
||||
bool HideDetails() {
|
||||
return false;
|
||||
}
|
||||
|
||||
bool Supported() {
|
||||
return ServiceRegistered;
|
||||
}
|
||||
|
||||
@@ -159,10 +159,6 @@ bool SkipFlashBounce() {
|
||||
return SkipAudio();
|
||||
}
|
||||
|
||||
bool HideDetails() {
|
||||
return Global::ScreenIsLocked();
|
||||
}
|
||||
|
||||
bool Supported() {
|
||||
return Platform::IsMac10_8OrGreater();
|
||||
}
|
||||
|
||||
@@ -15,7 +15,6 @@ namespace Notifications {
|
||||
[[nodiscard]] bool SkipAudio();
|
||||
[[nodiscard]] bool SkipToast();
|
||||
[[nodiscard]] bool SkipFlashBounce();
|
||||
[[nodiscard]] bool HideDetails();
|
||||
|
||||
[[nodiscard]] bool Supported();
|
||||
[[nodiscard]] bool Enforced();
|
||||
|
||||
@@ -823,9 +823,5 @@ bool SkipFlashBounce() {
|
||||
return SkipToast();
|
||||
}
|
||||
|
||||
bool HideDetails() {
|
||||
return false;
|
||||
}
|
||||
|
||||
} // namespace Notifications
|
||||
} // namespace Platform
|
||||
|
||||
Reference in New Issue
Block a user