fix: serverlike icon sizing

Signed-off-by: Infi <infi@infi.sh>
This commit is contained in:
Infi 2024-08-01 01:52:26 +02:00
parent fcdaf0759d
commit fb78244916
1 changed files with 14 additions and 5 deletions

View File

@ -379,10 +379,13 @@ fun ChannelSideDrawer(
.clip(CircleShape) .clip(CircleShape)
.clickable { .clickable {
onShowAddServerSheet() onShowAddServerSheet()
}) { }
.size(48.dp),
contentAlignment = Alignment.Center
) {
Icon( Icon(
imageVector = Icons.Default.Add, imageVector = Icons.Default.Add,
contentDescription = stringResource(R.string.settings) contentDescription = stringResource(R.string.server_plus_alt)
) )
} }
} }
@ -394,10 +397,13 @@ fun ChannelSideDrawer(
.clip(CircleShape) .clip(CircleShape)
.clickable { .clickable {
topNav.navigate("discover") topNav.navigate("discover")
}) { }
.size(48.dp),
contentAlignment = Alignment.Center
) {
Icon( Icon(
painter = painterResource(R.drawable.ic_compass_24dp), painter = painterResource(R.drawable.ic_compass_24dp),
contentDescription = stringResource(R.string.settings) contentDescription = stringResource(R.string.discover_alt)
) )
} }
} }
@ -413,7 +419,10 @@ fun ChannelSideDrawer(
scope.launch { scope.launch {
drawerState?.close() drawerState?.close()
} }
}) { }
.size(48.dp),
contentAlignment = Alignment.Center
) {
Icon( Icon(
imageVector = Icons.Default.Settings, imageVector = Icons.Default.Settings,
contentDescription = stringResource(R.string.settings) contentDescription = stringResource(R.string.settings)