From 627aeda8b131895cd682352e9ece9a988c3feabe Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Tue, 15 Feb 2022 22:49:26 -0800 Subject: [PATCH] Set default volume to 75% This doesn't fix an outstanding issue which will be fixed by the next commit, but it does fulfill a request. Signed-off-by: Christopher Snowhill --- Application/PlaybackController.m | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Application/PlaybackController.m b/Application/PlaybackController.m index 42dca4124..0141b5a14 100644 --- a/Application/PlaybackController.m +++ b/Application/PlaybackController.m @@ -55,12 +55,12 @@ NSString *CogPlaybackDidStopNotficiation = @"CogPlaybackDidStopNotficiation"; } - (void)initDefaults { - NSDictionary *defaultsDictionary = @{@"volume": [NSNumber numberWithDouble:100.0], - @"GraphicEQenable": [NSNumber numberWithBool:NO], - @"GraphicEQpreset": [NSNumber numberWithInt:-1], - @"GraphicEQtrackgenre": [NSNumber numberWithBool:NO], - @"volumeLimit": [NSNumber numberWithBool:YES], - @"headphoneVirtualization": [NSNumber numberWithBool:NO]}; + NSDictionary *defaultsDictionary = @{ @"volume": [NSNumber numberWithDouble:75.0], + @"GraphicEQenable": [NSNumber numberWithBool:NO], + @"GraphicEQpreset": [NSNumber numberWithInt:-1], + @"GraphicEQtrackgenre": [NSNumber numberWithBool:NO], + @"volumeLimit": [NSNumber numberWithBool:YES], + @"headphoneVirtualization": [NSNumber numberWithBool:NO] }; [[NSUserDefaults standardUserDefaults] registerDefaults:defaultsDictionary]; }