Skip to content

Commit

Permalink
sync: smoother downloads (fixes #4837) (#4840)
Browse files Browse the repository at this point in the history
Co-authored-by: dogi <[email protected]>
  • Loading branch information
Okuro3499 and dogi authored Dec 4, 2024
1 parent e6516d2 commit 667e525
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ android {
applicationId "org.ole.planet.myplanet"
minSdkVersion 26
targetSdkVersion 34
versionCode 2126
versionName "0.21.26"
versionCode 2127
versionName "0.21.27"
ndkVersion '21.3.6528147'
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ import android.content.SharedPreferences
import android.net.wifi.WifiManager
import android.os.Build
import android.os.Bundle
import android.os.Handler
import android.os.Looper
import android.text.TextUtils
import android.view.LayoutInflater
import android.view.View
Expand Down Expand Up @@ -177,9 +175,6 @@ abstract class BaseResourceFragment : Fragment() {
if (urls.isNotEmpty()) {
prgDialog.show()
Utilities.openDownloadService(activity, urls, false)
Handler(Looper.getMainLooper()).postDelayed({
prgDialog.dismiss()
}, 1000)
}
}

Expand Down

0 comments on commit 667e525

Please sign in to comment.