Fix logo color and sizing in empty screen.

This commit is contained in:
Alex Hart
2025-10-27 13:40:00 -03:00
committed by jeffrey-signal
parent d88c8baa83
commit 63ab448a27

View File

@@ -11,6 +11,7 @@ import androidx.compose.foundation.background
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.size
import androidx.compose.material3.Icon
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.adaptive.layout.ThreePaneScaffoldRole
@@ -26,6 +27,7 @@ import androidx.compose.ui.Modifier
import androidx.compose.ui.draw.clip
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.res.painterResource
import androidx.compose.ui.unit.dp
import androidx.lifecycle.viewmodel.compose.LocalViewModelStoreOwner
import androidx.navigation.NavGraphBuilder
import androidx.navigation.NavHostController
@@ -35,6 +37,9 @@ import androidx.navigation.compose.rememberNavController
import androidx.navigation.createGraph
import org.thoughtcrime.securesms.R
/**
* Displayed when the user has not selected content for a given tab.
*/
@Composable
fun EmptyDetailScreen() {
Box(
@@ -45,8 +50,10 @@ fun EmptyDetailScreen() {
Icon(
painter = painterResource(R.drawable.ic_signal_logo_large),
contentDescription = null,
tint = Color(0x58607152),
modifier = Modifier.align(Alignment.Center)
tint = MaterialTheme.colorScheme.secondary.copy(alpha = 0.32f),
modifier = Modifier
.size(80.dp)
.align(Alignment.Center)
)
}
}