Skip to content

Commit 27d0c8f

Browse files
committed
Fixes some java formatting issues :)
1 parent 2224eec commit 27d0c8f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

android/src/main/java/com/vydia/UploaderModule.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,9 @@ public void onError(Context context, UploadInfo uploadInfo, ServerResponse serve
159159
}
160160

161161
// Make sure we do not try to call getMessage() on a null object
162-
if(exception != null){
162+
if (exception != null){
163163
params.putString("error", exception.getMessage());
164-
}else{
164+
} else {
165165
params.putString("error", "Unknown exception");
166166
}
167167

@@ -214,11 +214,11 @@ public void onCancelled(Context context, UploadInfo uploadInfo) {
214214

215215
UploadNotificationConfig notificationConfig = new UploadNotificationConfig();
216216

217-
if(notification.hasKey("notificationChannel")){
217+
if (notification.hasKey("notificationChannel")){
218218
notificationConfig.setNotificationChannelId(notification.getString("notificationChannel"));
219219
}
220220

221-
if(notification.hasKey("autoClear") && notification.getBoolean("autoClear")){
221+
if (notification.hasKey("autoClear") && notification.getBoolean("autoClear")){
222222
notificationConfig.getCompleted().autoClear = true;
223223
}
224224

0 commit comments

Comments
 (0)