Skip to content

Commit

Permalink
Fix bottom app bar overlapping the DownloadList (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanLobbenmeier authored Jan 10, 2025
1 parent ff4e342 commit a74a73d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/main/kotlin/de/lobbenmeier/stefan/ui/App.kt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package de.lobbenmeier.stefan.ui

import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.padding
import androidx.compose.material.Scaffold
import androidx.compose.runtime.Composable
import androidx.compose.runtime.collectAsState
Expand All @@ -9,6 +11,7 @@ import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.remember
import androidx.compose.runtime.setValue
import androidx.compose.ui.ExperimentalComposeUiApi
import androidx.compose.ui.Modifier
import androidx.compose.ui.window.Dialog
import androidx.compose.ui.window.DialogProperties
import de.lobbenmeier.stefan.downloadlist.business.YtDlp
Expand Down Expand Up @@ -84,8 +87,8 @@ private fun MainView(
downloadAll = downloadQueue::downloadAll,
)
},
) {
DownloadList(downloadQueue)
) { paddingValues ->
Box(modifier = Modifier.padding(paddingValues)) { DownloadList(downloadQueue) }
}
}
}

0 comments on commit a74a73d

Please sign in to comment.