|
@@ -476,7 +476,7 @@ public abstract class FileActivity extends DrawerActivity
|
|
|
Fragment frag = getSupportFragmentManager().findFragmentByTag(DIALOG_WAIT_TAG);
|
|
|
if (frag == null) {
|
|
|
Log_OC.d(TAG, "show loading dialog");
|
|
|
- LoadingDialog loading = new LoadingDialog(message);
|
|
|
+ LoadingDialog loading = LoadingDialog.newInstance(message);
|
|
|
FragmentManager fm = getSupportFragmentManager();
|
|
|
FragmentTransaction ft = fm.beginTransaction();
|
|
|
loading.show(ft, DIALOG_WAIT_TAG);
|