equal
deleted
inserted
replaced
29 +(void) createSettings { |
29 +(void) createSettings { |
30 NSUserDefaults *settings = [NSUserDefaults standardUserDefaults]; |
30 NSUserDefaults *settings = [NSUserDefaults standardUserDefaults]; |
31 [settings setObject:[NSNumber numberWithBool:NO] forKey:@"alternate"]; |
31 [settings setObject:[NSNumber numberWithBool:NO] forKey:@"alternate"]; |
32 [settings setObject:[NSNumber numberWithBool:YES] forKey:@"music"]; |
32 [settings setObject:[NSNumber numberWithBool:YES] forKey:@"music"]; |
33 [settings setObject:[NSNumber numberWithBool:YES] forKey:@"sound"]; |
33 [settings setObject:[NSNumber numberWithBool:YES] forKey:@"sound"]; |
34 [settings setObject:[NSNumber numberWithBool:NO] forKey:@"classic_menu"]; |
|
35 [settings setObject:[NSNumber numberWithBool:YES] forKey:@"sync_ws"]; |
34 [settings setObject:[NSNumber numberWithBool:YES] forKey:@"sync_ws"]; |
36 |
35 |
37 // don't overwrite these two strings when present |
36 // don't overwrite these two strings when present |
38 if ([settings objectForKey:@"username"] == nil) |
37 if ([settings objectForKey:@"username"] == nil) |
39 [settings setObject:@"" forKey:@"username"]; |
38 [settings setObject:@"" forKey:@"username"]; |