Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.

Commit cdc5524

Browse files
committed
Move default branch, day, to end of switch statement
1 parent d19a187 commit cdc5524

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

android/src/main/java/com/dieam/reactnativepushnotification/modules/RNPushNotificationHelper.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -649,13 +649,13 @@ private int getRepeatField(String repeatType) {
649649
return Calendar.MONTH;
650650
case "week":
651651
return Calendar.WEEK_OF_YEAR;
652-
case "day":
653-
default:
654-
return Calendar.DATE;
655652
case "hour":
656653
return Calendar.HOUR;
657654
case "minute":
658655
return Calendar.MINUTE;
656+
case "day":
657+
default:
658+
return Calendar.DATE;
659659
}
660660
}
661661

0 commit comments

Comments
 (0)