enable notify, simplify use-scrobble with types, remove unused check

This commit is contained in:
Kendall Garner 2025-07-07 19:25:25 -07:00
parent b219c900ca
commit e00aeb2b67
No known key found for this signature in database
GPG key ID: 9355F387FE765C94
4 changed files with 76 additions and 12 deletions

View file

@ -285,6 +285,7 @@ export interface SettingsState {
preservePitch: boolean;
scrobble: {
enabled: boolean;
notify: boolean;
scrobbleAtDuration: number;
scrobbleAtPercentage: number;
};
@ -479,6 +480,7 @@ const initialState: SettingsState = {
preservePitch: true,
scrobble: {
enabled: true,
notify: false,
scrobbleAtDuration: 240,
scrobbleAtPercentage: 75,
},