File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed
app/src/main/java/to/bitkit/ui/screens/wallets/receive Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -282,22 +282,24 @@ private fun ReceiveLightningFunds(
282282 onCjitToggle : (Boolean ) -> Unit ,
283283) {
284284 Column {
285- if ( cjitInvoice.value == null ) {
285+ AnimatedVisibility ( ! cjitActive.value && cjitInvoice.value == null ) {
286286 Headline (
287287 text = stringResource(R .string.wallet__receive_text_lnfunds).withAccent(accentColor = Colors .Purple )
288288 )
289289 }
290290 Row (verticalAlignment = Alignment .CenterVertically ) {
291291 BodyM (text = stringResource(R .string.wallet__receive_spending))
292292 Spacer (modifier = Modifier .weight(1f ))
293- Icon (
294- painter = painterResource(R .drawable.empty_state_arrow_horizontal),
295- contentDescription = null ,
296- tint = Colors .White64 ,
297- modifier = Modifier
298- .rotate(17.33f )
299- .padding(start = 7.65 .dp, end = 13.19 .dp)
300- )
293+ AnimatedVisibility (! cjitActive.value && cjitInvoice.value == null ) {
294+ Icon (
295+ painter = painterResource(R .drawable.empty_state_arrow_horizontal),
296+ contentDescription = null ,
297+ tint = Colors .White64 ,
298+ modifier = Modifier
299+ .rotate(17.33f )
300+ .padding(start = 7.65 .dp, end = 13.19 .dp)
301+ )
302+ }
301303 Switch (
302304 checked = cjitActive.value,
303305 onCheckedChange = onCjitToggle,
You can’t perform that action at this time.
0 commit comments