Hide native notification details on lock screen.

This commit is contained in:
John Preston
2021-04-27 13:51:52 +04:00
parent e9196bbbb5
commit e26e666135
7 changed files with 16 additions and 19 deletions
@@ -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