Skip to content

Commit d1fa017

Browse files
committed
Fix sample app
1 parent b464ba0 commit d1fa017

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

sample/src/main/java/com/cloudinary/sample/main/MainActivity.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,7 @@ private void checkForActiveCloud() {
4949
Intent intent = new Intent(this, NoCloudActivity.class);
5050
startActivity(intent);
5151
} else {
52-
if(MediaManager.get() == null) {
53-
CloudinaryHelper.setMediaManager(getBaseContext(), cloudName);
54-
}
52+
CloudinaryHelper.setMediaManager(getBaseContext(), cloudName);
5553
}
5654
}
5755

0 commit comments

Comments
 (0)