Merge pull request #914 from robotal/patch-3

[FIX] Syntax error in prior pull request
This commit is contained in:
Michael Diarmid 2018-03-27 09:31:48 +01:00 committed by GitHub
commit 2979cc4950
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -356,7 +356,7 @@ public class RNFirebaseNotificationManager {
if(vibrate != null) {
long[] vibrateArray = new long[vibrate.size()];
for (int i = 0; i < vibrate.size(); i++) {
vibrateArray[i] = (vibrate.get(i).longValue();
vibrateArray[i] = vibrate.get(i).longValue();
}
nb = nb.setVibrate(vibrateArray);
}