mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-04 01:19:33 +00:00
Merge pull request #7366 from hayaksi1/fix/3493-media-progress-insets
Do not draw the media loading progress bar under the status bar
This commit is contained in:
+1
@@ -414,6 +414,7 @@ private fun MediaViewerPage(
|
|||||||
if (showProgress) {
|
if (showProgress) {
|
||||||
LinearProgressIndicator(
|
LinearProgressIndicator(
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
|
.padding(WindowInsets.safeDrawing.only(WindowInsetsSides.Horizontal + WindowInsetsSides.Top).asPaddingValues())
|
||||||
.fillMaxWidth()
|
.fillMaxWidth()
|
||||||
.height(2.dp)
|
.height(2.dp)
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user