mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-28 21:33:53 +01:00
make dialog modal (#6015)
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
This commit is contained in:
parent
c175a4ee03
commit
9a876fa5e2
27 changed files with 53 additions and 62 deletions
|
|
@ -149,8 +149,7 @@ class DescriptionEditActivity :
|
|||
getString(titleStringID),
|
||||
getString(messageStringId),
|
||||
getString(android.R.string.ok),
|
||||
null,
|
||||
true,
|
||||
null
|
||||
)
|
||||
}
|
||||
|
||||
|
|
@ -304,7 +303,7 @@ class DescriptionEditActivity :
|
|||
progressDialog!!.isIndeterminate = true
|
||||
progressDialog!!.setTitle(getString(R.string.updating_caption_title))
|
||||
progressDialog!!.setMessage(getString(R.string.updating_caption_message))
|
||||
progressDialog!!.setCanceledOnTouchOutside(false)
|
||||
progressDialog!!.setCancelable(false)
|
||||
progressDialog!!.show()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue