[android][notifications] misc linting

This commit is contained in:
Salakar 2018-04-22 15:12:49 +01:00
parent 6dce84b0db
commit 8b90b5a7b3
1 changed files with 2 additions and 2 deletions

View File

@ -560,9 +560,9 @@ public class RNFirebaseNotificationManager {
}
private Uri getSound(String sound) {
if (sound == null)
if (sound == null) {
return null;
else if (sound.contains("://")) {
} else if (sound.contains("://")) {
return Uri.parse(sound);
} else if (sound.equalsIgnoreCase("default")) {
return RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION);