@@ -702,41 +702,40 @@ private fun ActivityDetailContent(
702702 }
703703 )
704704 )
705- if (isTransfer && channelId != null && onChannelClick != null ) {
706- PrimaryButton (
707- text = stringResource(R .string.lightning__connection),
708- size = ButtonSize .Small ,
709- onClick = { onChannelClick(channelId) },
710- icon = {
711- Icon (
712- painter = painterResource(R .drawable.ic_lightning),
713- contentDescription = null ,
714- tint = accentColor,
715- modifier = Modifier .size(16 .dp)
716- )
717- },
718- modifier = Modifier
719- .weight(1f )
720- .testTag(" ChannelButton" )
721- )
722- } else {
723- PrimaryButton (
724- text = stringResource(R .string.wallet__activity_explore),
725- size = ButtonSize .Small ,
726- onClick = { onExploreClick(item.rawId()) },
727- icon = {
728- Icon (
729- painter = painterResource(R .drawable.ic_git_branch),
730- contentDescription = null ,
731- tint = accentColor,
732- modifier = Modifier .size(16 .dp)
733- )
734- },
735- modifier = Modifier
736- .weight(1f )
737- .testTag(" ActivityTxDetails" )
738- )
739- }
705+ PrimaryButton (
706+ text = stringResource(R .string.wallet__activity_explore),
707+ size = ButtonSize .Small ,
708+ onClick = { onExploreClick(item.rawId()) },
709+ icon = {
710+ Icon (
711+ painter = painterResource(R .drawable.ic_git_branch),
712+ contentDescription = null ,
713+ tint = accentColor,
714+ modifier = Modifier .size(16 .dp)
715+ )
716+ },
717+ modifier = Modifier
718+ .weight(1f )
719+ .testTag(" ActivityTxDetails" )
720+ )
721+ }
722+ if (isTransfer && channelId != null && onChannelClick != null ) {
723+ PrimaryButton (
724+ text = stringResource(R .string.lightning__connection),
725+ size = ButtonSize .Small ,
726+ onClick = { onChannelClick(channelId) },
727+ icon = {
728+ Icon (
729+ painter = painterResource(R .drawable.ic_lightning),
730+ contentDescription = null ,
731+ tint = accentColor,
732+ modifier = Modifier .size(16 .dp)
733+ )
734+ },
735+ modifier = Modifier
736+ .fillMaxWidth()
737+ .testTag(" ChannelButton" )
738+ )
740739 }
741740 }
742741 }
0 commit comments