We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e44c8e8 commit cc7e934Copy full SHA for cc7e934
1 file changed
android/src/main/kotlin/project/pipepipe/app/ui/screens/DownloadScreen.kt
@@ -56,7 +56,6 @@ fun DownloadScreen(
56
57
var selectedTab by remember { mutableStateOf(0) }
58
val tabs = listOf(
59
- "All" to null,
60
"Downloading" to DownloadStatus.DOWNLOADING,
61
"Completed" to DownloadStatus.COMPLETED,
62
"Failed" to DownloadStatus.FAILED
@@ -174,9 +173,9 @@ fun DownloadScreen(
174
173
) {
175
Text(
176
text = when (selectedTab) {
177
- 1 -> "No active downloads"
178
- 2 -> "No completed downloads"
179
- 3 -> "No failed downloads"
+ 0 -> "No active downloads"
+ 1 -> "No completed downloads"
+ 2 -> "No failed downloads"
180
else -> "No downloads yet"
181
},
182
fontSize = 16.sp,
0 commit comments