mirror of
https://github.com/TwidereProject/Twidere-Android
synced 2025-02-01 17:26:46 +01:00
updated version
This commit is contained in:
parent
3c00d4e681
commit
79e07a6774
@ -36,8 +36,8 @@ android {
|
|||||||
applicationId "org.mariotaku.twidere"
|
applicationId "org.mariotaku.twidere"
|
||||||
minSdkVersion project.properties['overrideMinSdkVersion'] ?: 14
|
minSdkVersion project.properties['overrideMinSdkVersion'] ?: 14
|
||||||
targetSdkVersion 25
|
targetSdkVersion 25
|
||||||
versionCode 301
|
versionCode 302
|
||||||
versionName '3.4.39'
|
versionName '3.4.40'
|
||||||
multiDexEnabled true
|
multiDexEnabled true
|
||||||
|
|
||||||
buildConfigField 'boolean', 'LEAK_CANARY_ENABLED', 'Boolean.parseBoolean("true")'
|
buildConfigField 'boolean', 'LEAK_CANARY_ENABLED', 'Boolean.parseBoolean("true")'
|
||||||
|
@ -35,6 +35,7 @@ abstract class ProgressSaveFileTask(
|
|||||||
) : SaveFileTask(context, destination, fileInfo) {
|
) : SaveFileTask(context, destination, fileInfo) {
|
||||||
|
|
||||||
override fun showProgress() {
|
override fun showProgress() {
|
||||||
|
val context = this.context ?: return
|
||||||
(context as IBaseActivity<*>).executeAfterFragmentResumed { activity ->
|
(context as IBaseActivity<*>).executeAfterFragmentResumed { activity ->
|
||||||
val fragment = ProgressDialogFragment()
|
val fragment = ProgressDialogFragment()
|
||||||
fragment.isCancelable = false
|
fragment.isCancelable = false
|
||||||
@ -43,6 +44,7 @@ abstract class ProgressSaveFileTask(
|
|||||||
}
|
}
|
||||||
|
|
||||||
override fun dismissProgress() {
|
override fun dismissProgress() {
|
||||||
|
val context = this.context ?: return
|
||||||
(context as IBaseActivity<*>).executeAfterFragmentResumed { activity ->
|
(context as IBaseActivity<*>).executeAfterFragmentResumed { activity ->
|
||||||
val fm = activity.supportFragmentManager
|
val fm = activity.supportFragmentManager
|
||||||
val fragment = fm.findFragmentByTag(PROGRESS_FRAGMENT_TAG) as? DialogFragment
|
val fragment = fm.findFragmentByTag(PROGRESS_FRAGMENT_TAG) as? DialogFragment
|
||||||
|
Loading…
x
Reference in New Issue
Block a user