Skip to content

Fix notification sound and add mute toggle#57

Merged
barrydeen merged 1 commit intomainfrom
fix/notification-sound
Feb 26, 2026
Merged

Fix notification sound and add mute toggle#57
barrydeen merged 1 commit intomainfrom
fix/notification-sound

Conversation

@barrydeen
Copy link
Copy Markdown
Owner

Summary

  • Fix notification blip not playing by routing through USAGE_GAME audio stream instead of USAGE_NOTIFICATION (matches zap sound behavior)
  • Replace notification sound file (wav → mp3)
  • Add mute/unmute toggle icon to the notifications screen top bar, persisted across sessions via SharedPreferences

Test plan

  • Open notifications screen, verify volume icon appears in top bar
  • Tap volume icon to mute, verify icon switches to muted state
  • Receive a notification while muted — no sound should play
  • Tap volume icon to unmute, receive another notification — sound should play
  • Kill and reopen app, verify mute preference is remembered

Route notification blip through USAGE_GAME audio stream instead of
USAGE_NOTIFICATION so it respects media volume (matching zap sound
behavior). Replace wav with mp3. Add mute/unmute toggle to the
notifications screen top bar, persisted in SharedPreferences.
@barrydeen barrydeen merged commit acc19fc into main Feb 26, 2026
@barrydeen barrydeen deleted the fix/notification-sound branch March 4, 2026 01:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant