From 6b1ed4499961d8a837ba075abdb739e566ffb67c Mon Sep 17 00:00:00 2001 From: Ahmed El-Helw Date: Fri, 20 Dec 2024 00:15:02 +0400 Subject: [PATCH] Fix resizing progress dialog --- .../ui/sheikhdownload/DownloadProgressDialog.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/feature/downloadmanager/src/main/kotlin/com/quran/mobile/feature/downloadmanager/ui/sheikhdownload/DownloadProgressDialog.kt b/feature/downloadmanager/src/main/kotlin/com/quran/mobile/feature/downloadmanager/ui/sheikhdownload/DownloadProgressDialog.kt index c875ec93c9..b0621b6ea9 100644 --- a/feature/downloadmanager/src/main/kotlin/com/quran/mobile/feature/downloadmanager/ui/sheikhdownload/DownloadProgressDialog.kt +++ b/feature/downloadmanager/src/main/kotlin/com/quran/mobile/feature/downloadmanager/ui/sheikhdownload/DownloadProgressDialog.kt @@ -2,6 +2,7 @@ package com.quran.mobile.feature.downloadmanager.ui.sheikhdownload import android.content.Context import androidx.compose.foundation.layout.Column +import androidx.compose.foundation.layout.height import androidx.compose.foundation.layout.padding import androidx.compose.material3.AlertDialog import androidx.compose.material3.LinearProgressIndicator @@ -36,7 +37,7 @@ fun DownloadProgressDialog( }, text = { val progress = if (currentEvent.progress == -1) 0 else currentEvent.progress - Column { + Column(modifier = Modifier.height(56.dp)) { Text( currentEvent.asMessage(LocalContext.current), modifier = Modifier.padding(bottom = 8.dp, end = 16.dp)