PreferenceInitNotificationSetting
Callable
Parameters
setting: any
The old version of the setting
audio: NotificationAudioType
The audio setting
optionaldefaultAlertType: NotificationAlertType
The default AlertType to use
Returns NotificationSetting
- The setting to use
Initialise the Notifications settings, converting the old boolean types to objects