mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 17:46:37 +03:00
Prevent that lost waiting dialogs block operation after tricky rotations
This commit is contained in:
parent
3885db5013
commit
ea1e67595c
1 changed files with 2 additions and 0 deletions
|
@ -909,6 +909,8 @@ public class FileActivity extends AppCompatActivity
|
|||
* Show loading dialog
|
||||
*/
|
||||
public void showLoadingDialog(String message) {
|
||||
// grant that only one waiting dialog is shown
|
||||
dismissLoadingDialog();
|
||||
// Construct dialog
|
||||
LoadingDialog loading = new LoadingDialog(message);
|
||||
FragmentManager fm = getSupportFragmentManager();
|
||||
|
|
Loading…
Reference in a new issue