Skip to content

Commit

Permalink
Merge branch 'master' into gino-m/1850/1
Browse files Browse the repository at this point in the history
  • Loading branch information
gino-m authored Sep 11, 2023
2 parents 2b68694 + cae33b4 commit bffcbd3
Showing 1 changed file with 9 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,15 @@ class DownloadProgressDialogFragment : Hilt_DownloadProgressDialogFragment() {
val binding = DownloadProgressDialogFragBinding.inflate(inflater)
binding.lifecycleOwner = this
binding.viewModel = getViewModel(OfflineAreaSelectorViewModel::class.java)
return AlertDialog.Builder(requireActivity())
.setTitle("Download progress")
.setMessage(getString(R.string.offline_map_imagery_download_progress_dialog_message))
.setView(binding.root)
.setCancelable(false)
.create()
val dialog =
AlertDialog.Builder(requireActivity())
.setTitle("Download progress")
.setMessage(getString(R.string.offline_map_imagery_download_progress_dialog_message))
.setView(binding.root)
.setCancelable(false)
.create()
dialog.setCanceledOnTouchOutside(false)
return dialog
}

fun setVisibility(childFragmentManager: FragmentManager, newVisibility: Boolean) {
Expand Down

0 comments on commit bffcbd3

Please sign in to comment.