CR: rename SignalClassic constant

// FREEBIE
This commit is contained in:
Michael Kirk 2018-03-06 13:57:59 -05:00
parent 51ae936555
commit f459c9ce6d
3 changed files with 5 additions and 5 deletions

View file

@ -20,7 +20,7 @@ typedef NS_ENUM(NSUInteger, OWSSound) {
OWSSound_Popcorn,
OWSSound_Pulse,
OWSSound_Synth,
OWSSound_ClassicNotification,
OWSSound_SignalClassic,
// Ringtone Sounds
OWSSound_Opening,

View file

@ -74,7 +74,7 @@ NSString *const kOWSSoundsStorageGlobalNotificationKey = @"kOWSSoundsStorageGlob
@(OWSSound_Keys),
@(OWSSound_Popcorn),
@(OWSSound_Pulse),
@(OWSSound_ClassicNotification),
@(OWSSound_SignalClassic),
@(OWSSound_Synth),
];
}
@ -112,7 +112,7 @@ NSString *const kOWSSoundsStorageGlobalNotificationKey = @"kOWSSoundsStorageGlob
return @"Pulse";
case OWSSound_Synth:
return @"Synth";
case OWSSound_ClassicNotification:
case OWSSound_SignalClassic:
return @"Signal Classic";
// Call Audio
@ -172,7 +172,7 @@ NSString *const kOWSSoundsStorageGlobalNotificationKey = @"kOWSSoundsStorageGlob
return (quiet ? @"pulse-quiet.aifc" : @"pulse.aifc");
case OWSSound_Synth:
return (quiet ? @"synth-quiet.aifc" : @"synth.aifc");
case OWSSound_ClassicNotification:
case OWSSound_SignalClassic:
return (quiet ? @"classic-quiet.aifc" : @"classic.aifc");
// Ringtone Sounds

View file

@ -22,7 +22,7 @@ static NSString *const OWS107LegacySoundsMigrationId = @"107";
{
OWSAssert(transaction);
[OWSSounds setGlobalNotificationSound:OWSSound_ClassicNotification transaction:transaction];
[OWSSounds setGlobalNotificationSound:OWSSound_SignalClassic transaction:transaction];
}
@end