mirror of
https://gitlab.shinice.net/pixeldroid/PixelDroid
synced 2024-12-25 06:23:58 +01:00
Add check before proceding to upload to fix multi upload
This commit is contained in:
parent
111182e9b0
commit
03cf950bab
@ -302,7 +302,7 @@ class PostCreationActivity : BaseActivity() {
|
||||
},
|
||||
{
|
||||
data.progress = 100
|
||||
if(photoData.all{it.progress == 100}){
|
||||
if(photoData.all{it.progress == 100 && it.uploadId != null}){
|
||||
binding.uploadProgressBar.visibility = View.GONE
|
||||
binding.uploadCompletedTextview.visibility = View.VISIBLE
|
||||
post()
|
||||
|
Loading…
Reference in New Issue
Block a user