Fix (some) ktlint issues

Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
This commit is contained in:
Dariusz Olszewski 2021-11-30 22:54:09 +01:00 committed by Marcel Hibbe
parent e9ac99c5df
commit 2e4130c2c4
No known key found for this signature in database
GPG key ID: C793F8B59F43CE7B

View file

@ -235,15 +235,19 @@ object NotificationUtils {
context: Context,
appPreferences: AppPreferences?
): Uri? {
return getRingtoneUri(context,
appPreferences!!.callRingtoneUri, DEFAULT_CALL_RINGTONE_URI, NOTIFICATION_CHANNEL_CALLS_V4)
return getRingtoneUri(
context,
appPreferences!!.callRingtoneUri, DEFAULT_CALL_RINGTONE_URI, NOTIFICATION_CHANNEL_CALLS_V4
)
}
fun getMessageRingtoneUri(
context: Context,
appPreferences: AppPreferences?
): Uri? {
return getRingtoneUri(context,
appPreferences!!.messageRingtoneUri, DEFAULT_MESSAGE_RINGTONE_URI, NOTIFICATION_CHANNEL_MESSAGES_V3)
return getRingtoneUri(
context,
appPreferences!!.messageRingtoneUri, DEFAULT_MESSAGE_RINGTONE_URI, NOTIFICATION_CHANNEL_MESSAGES_V3
)
}
}