Skip to content

Commit

Permalink
Fix resizing progress dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedre committed Dec 19, 2024
1 parent 8f669b3 commit 6b1ed44
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 6b1ed44

Please sign in to comment.