diff --git a/app/src/main/java/com/owncloud/android/ui/dialog/LoadingDialog.kt b/app/src/main/java/com/owncloud/android/ui/dialog/LoadingDialog.kt index f4c5d294531e..5383c95dac3f 100644 --- a/app/src/main/java/com/owncloud/android/ui/dialog/LoadingDialog.kt +++ b/app/src/main/java/com/owncloud/android/ui/dialog/LoadingDialog.kt @@ -61,7 +61,7 @@ class LoadingDialog : DialogFragment(), Injectable { override fun onDestroyView() { if (dialog != null && retainInstance) { - dialog!!.setDismissMessage(null) + dialog?.setDismissMessage(null) } super.onDestroyView() diff --git a/app/src/main/res/layout/loading_dialog.xml b/app/src/main/res/layout/loading_dialog.xml index 62a53d863026..cdef05385fcd 100644 --- a/app/src/main/res/layout/loading_dialog.xml +++ b/app/src/main/res/layout/loading_dialog.xml @@ -24,8 +24,9 @@ android:orientation="horizontal" android:padding="@dimen/standard_padding"> -