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.
2 parents 6ff6956 + b672726 commit 62f8a66Copy full SHA for 62f8a66
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