We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be57336 commit b672726Copy full SHA for b672726
storage/app/src/main/java/com/google/firebase/quickstart/firebasestorage/MainActivity.java
@@ -188,6 +188,10 @@ private void uploadFromUri(Uri fileUri) {
188
// Save the File URI
189
mFileUri = fileUri;
190
191
+ // Clear the last download, if any
192
+ updateUI(mAuth.getCurrentUser());
193
+ mDownloadUrl = null;
194
+
195
// Toast message in case the user does not see the notificatio
196
Toast.makeText(this, "Uploading...", Toast.LENGTH_SHORT).show();
197
0 commit comments