chore: change share target activity design to reflect cs2
Signed-off-by: Infi <infi@infi.sh>
This commit is contained in:
parent
fe2efdaec0
commit
546dd7bdeb
|
|
@ -43,7 +43,6 @@ import androidx.compose.runtime.saveable.rememberSaveable
|
||||||
import androidx.compose.runtime.setValue
|
import androidx.compose.runtime.setValue
|
||||||
import androidx.compose.ui.Alignment
|
import androidx.compose.ui.Alignment
|
||||||
import androidx.compose.ui.Modifier
|
import androidx.compose.ui.Modifier
|
||||||
import androidx.compose.ui.draw.clip
|
|
||||||
import androidx.compose.ui.platform.LocalContext
|
import androidx.compose.ui.platform.LocalContext
|
||||||
import androidx.compose.ui.res.stringResource
|
import androidx.compose.ui.res.stringResource
|
||||||
import androidx.compose.ui.unit.dp
|
import androidx.compose.ui.unit.dp
|
||||||
|
|
@ -382,16 +381,7 @@ fun ShareTargetScreen(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Column(
|
Column {
|
||||||
modifier = Modifier
|
|
||||||
.padding(
|
|
||||||
start = 16.dp,
|
|
||||||
end = 16.dp,
|
|
||||||
bottom = 16.dp,
|
|
||||||
top = 8.dp
|
|
||||||
)
|
|
||||||
.clip(MaterialTheme.shapes.medium)
|
|
||||||
) {
|
|
||||||
AnimatedVisibility(viewModel.attachments.isNotEmpty()) {
|
AnimatedVisibility(viewModel.attachments.isNotEmpty()) {
|
||||||
AttachmentManager(
|
AttachmentManager(
|
||||||
attachments = viewModel.attachments,
|
attachments = viewModel.attachments,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue