Update Integrations disclaimer copy on the More bottom sheet
This commit is contained in:
parent
4b154ec4b2
commit
ab93e5587f
|
@ -4,9 +4,7 @@ import androidx.compose.foundation.Image
|
|||
import androidx.compose.foundation.layout.Column
|
||||
import androidx.compose.foundation.layout.PaddingValues
|
||||
import androidx.compose.foundation.layout.Row
|
||||
import androidx.compose.foundation.layout.Spacer
|
||||
import androidx.compose.foundation.layout.fillMaxWidth
|
||||
import androidx.compose.foundation.layout.height
|
||||
import androidx.compose.foundation.layout.padding
|
||||
import androidx.compose.material3.ExperimentalMaterial3Api
|
||||
import androidx.compose.material3.SheetState
|
||||
|
@ -21,7 +19,7 @@ import androidx.compose.ui.text.font.FontWeight
|
|||
import androidx.compose.ui.text.style.TextAlign
|
||||
import androidx.compose.ui.unit.dp
|
||||
import co.electriccoin.zcash.ui.R
|
||||
import co.electriccoin.zcash.ui.design.component.HorizontalSpacer
|
||||
import co.electriccoin.zcash.ui.design.component.Spacer
|
||||
import co.electriccoin.zcash.ui.design.component.ZashiScreenModalBottomSheet
|
||||
import co.electriccoin.zcash.ui.design.component.listitem.ZashiListItemState
|
||||
import co.electriccoin.zcash.ui.design.component.rememberModalBottomSheetState
|
||||
|
@ -58,10 +56,9 @@ fun BottomSheetContent(state: IntegrationsState) {
|
|||
fontWeight = FontWeight.SemiBold,
|
||||
color = ZashiColors.Text.textPrimary
|
||||
)
|
||||
Spacer(Modifier.height(8.dp))
|
||||
Spacer(8.dp)
|
||||
IntegrationItems(state, contentPadding = PaddingValues(horizontal = 20.dp, vertical = 16.dp))
|
||||
Spacer(modifier = Modifier.height(16.dp))
|
||||
|
||||
Spacer(16.dp)
|
||||
Row(
|
||||
modifier =
|
||||
Modifier
|
||||
|
@ -74,15 +71,16 @@ fun BottomSheetContent(state: IntegrationsState) {
|
|||
contentDescription = null,
|
||||
colorFilter = ColorFilter.tint(ZashiColors.Text.textTertiary)
|
||||
)
|
||||
HorizontalSpacer(8.dp)
|
||||
Spacer(8.dp)
|
||||
Text(
|
||||
modifier = Modifier.weight(1f),
|
||||
text = stringResource(id = R.string.integrations_info),
|
||||
text = stringResource(id = R.string.integrations_dialog_info),
|
||||
textAlign = TextAlign.Start,
|
||||
style = ZashiTypography.textXs,
|
||||
color = ZashiColors.Text.textTertiary
|
||||
)
|
||||
}
|
||||
Spacer(52.dp)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
<string name="integrations_coinbase">Compra <xliff:g id="currency" example="ZEC">%1$s</xliff:g> con Coinbase</string>
|
||||
<string name="integrations_coinbase_subtitle">Una forma sencilla de comprar <xliff:g id="currency" example="ZEC">%1$s</xliff:g> y recibirlo directamente en tu billetera Zashi.</string>
|
||||
<string name="integrations_info">Las integraciones de Zashi proporcionan acceso a servicios de terceros. Las funciones e información compartida con ellos están fuera de nuestro control y están sujetas a sus políticas de privacidad.</string>
|
||||
<string name="integrations_dialog_info">La información compartida con las integraciones de Zashi está sujeta a sus políticas de privacidad.</string>
|
||||
<string name="integrations_disabled_info">Durante el proceso de restauración, no es posible utilizar integraciones de pago.</string>
|
||||
<string name="integrations_flexa">Pagar con Flexa</string>
|
||||
<string name="integrations_flexa_subtitle">Paga con clips de pago de Flexa y descubre una nueva forma de gastar Zcash.</string>
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
<string name="integrations_coinbase">Buy <xliff:g id="currency" example="ZEC">%1$s</xliff:g> with Coinbase</string>
|
||||
<string name="integrations_coinbase_subtitle">A hassle-free way to buy <xliff:g id="currency" example="ZEC">%1$s</xliff:g> and get it directly into your Zashi wallet.</string>
|
||||
<string name="integrations_info">Zashi integrations provide access to third party services. Features and information shared with them are outside of our control and subject to their privacy policies.</string>
|
||||
<string name="integrations_dialog_info">Information shared with Zashi integrations is subject to their privacy policies.</string>
|
||||
<string name="integrations_disabled_info">During the Restore process, it is not possible to use payment integrations.</string>
|
||||
<string name="integrations_flexa">Pay with Flexa</string>
|
||||
<string name="integrations_flexa_subtitle">Pay with Flexa payment clips and explore a new way of spending Zcash.</string>
|
||||
|
|
Loading…
Reference in New Issue