Remove unused button

This commit is contained in:
bemusementpark 2024-07-01 11:25:36 +09:30
parent 0ebbd35031
commit aac228ba91

View File

@ -7,7 +7,6 @@ import androidx.compose.ui.Modifier
import androidx.compose.ui.res.stringResource import androidx.compose.ui.res.stringResource
import network.loki.messenger.R import network.loki.messenger.R
import org.thoughtcrime.securesms.ui.LocalDimensions import org.thoughtcrime.securesms.ui.LocalDimensions
import org.thoughtcrime.securesms.ui.components.OutlineButton
import org.thoughtcrime.securesms.ui.components.PrimaryOutlineButton import org.thoughtcrime.securesms.ui.components.PrimaryOutlineButton
import org.thoughtcrime.securesms.ui.contentDescription import org.thoughtcrime.securesms.ui.contentDescription
@ -23,15 +22,3 @@ fun ContinuePrimaryOutlineButton(modifier: Modifier, onContinue: () -> Unit) {
onClick = onContinue, onClick = onContinue,
) )
} }
@Composable
fun OnboardingButton(text: String, modifier: Modifier, onClick: () -> Unit) {
OutlineButton(
text,
modifier = modifier
.fillMaxWidth()
.padding(horizontal = LocalDimensions.current.largeMargin)
.padding(bottom = LocalDimensions.current.xxsMargin),
onClick = onClick,
)
}