Skip to content

Commit

Permalink
fix pure black background on file list
Browse files Browse the repository at this point in the history
  • Loading branch information
grote committed Feb 11, 2025
1 parent d62cd3e commit 642f17e
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion app/src/main/java/org/onionshare/android/ui/share/ShareUi.kt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import android.content.res.Configuration.UI_MODE_NIGHT_YES
import android.net.Uri
import androidx.annotation.StringRes
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Arrangement.Center
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
Expand Down Expand Up @@ -257,7 +258,16 @@ fun MainContent(
)
}
} else {
FileList(modifier.padding(bottom = offset), shareState, filesState, onFileRemove, onRemoveAll)
FileList(
modifier = modifier
.padding(bottom = offset)
.fillMaxSize()
.background(MaterialTheme.colorScheme.background),
state = shareState,
filesState = filesState,
onFileRemove = onFileRemove,
onRemoveAll = onRemoveAll,
)
}
}

Expand Down

0 comments on commit 642f17e

Please sign in to comment.