Skip to content

Commit

Permalink
Channel: add extra divider and fix indicator spacing on Android
Browse files Browse the repository at this point in the history
Co-authored-by: myxmaster <[email protected]>
  • Loading branch information
kaloudis and myxmaster committed Dec 17, 2024
1 parent 2bb3052 commit 1011e56
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
5 changes: 2 additions & 3 deletions components/KeyValue.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@ export default class KeyValue extends React.Component<KeyValueProps, {}> {
width: 12,
height: 12,
borderRadius: 12 / 2,
backgroundColor: indicatorColor,
marginRight: 7
backgroundColor: indicatorColor
}}
></View>
)}
Expand All @@ -87,7 +86,7 @@ export default class KeyValue extends React.Component<KeyValueProps, {}> {
: themeColor('text')
}}
>
{keyValue}
{indicatorColor ? ` ${keyValue}` : keyValue}
</Text>
{infoModalText && (
<Text
Expand Down
5 changes: 5 additions & 0 deletions views/Channels/Channel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,9 @@ export default class ChannelView extends React.Component<
/>
</ListItem>
)}

<Divider orientation="horizontal" style={{ margin: 20 }} />

<KeyValue
keyValue={localeString('views.Channel.channelBalance')}
/>
Expand Down Expand Up @@ -717,7 +720,9 @@ export default class ChannelView extends React.Component<
}
/>
)}

<Divider orientation="horizontal" style={{ margin: 20 }} />

{BackendUtils.isLNDBased() && editableFees && (
<FeeBreakdown
isActive={isActive}
Expand Down

0 comments on commit 1011e56

Please sign in to comment.