🐛 Fix linux compile issue

This commit is contained in:
2025-03-26 23:32:23 +08:00
parent 610ddec05c
commit 38e1c51b45
6 changed files with 37 additions and 7 deletions

View File

@ -100,7 +100,7 @@ class NotificationProvider extends ChangeNotifier {
if (doHaptic) HapticFeedback.mediumImpact();
// April fool notification sfx
if (doHaptic) {
if (_cfg.prefs.getBool(kAppAprilFoolFeatures) ?? true) {
final now = DateTime.now();
if (now.day == 1 && now.month == 4) {
_notifySoundPlayer.play(