From dd7486665c5a8e40a8c32a102665c55f26c6d94b Mon Sep 17 00:00:00 2001 From: Shubham Kumar Date: Fri, 21 Apr 2023 19:21:44 +0530 Subject: [PATCH 1/2] SetFees: Use local timeLockDelta --- views/Routing/SetFees.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/views/Routing/SetFees.tsx b/views/Routing/SetFees.tsx index fb765ddac..a7fc8b7a7 100644 --- a/views/Routing/SetFees.tsx +++ b/views/Routing/SetFees.tsx @@ -105,9 +105,7 @@ export default class SetFees extends React.PureComponent { feeRate={`${ Number(policy.fee_rate_milli_msat) / 10000 }`} - timeLockDelta={chanInfo[ - channelId - ].node1Policy.time_lock_delta.toString()} + timeLockDelta={policy.time_lock_delta.toString()} minHtlc={`${Number(policy.min_htlc) / 1000}`} maxHtlc={`${Number(policy.max_htlc_msat) / 1000}`} channelPoint={channelPoint} From 80abaff22fba2389a03439e8e083a23f5bf4a1e9 Mon Sep 17 00:00:00 2001 From: Evan Kaloudis Date: Fri, 21 Apr 2023 11:01:23 -0400 Subject: [PATCH 2/2] views/Channel: properly color action buttons in header --- views/Channels/Channel.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/views/Channels/Channel.tsx b/views/Channels/Channel.tsx index b8ec1bf3d..0bc6e9f18 100644 --- a/views/Channels/Channel.tsx +++ b/views/Channels/Channel.tsx @@ -176,6 +176,7 @@ export default class ChannelView extends React.Component< navigation.navigate('SetFees', { channel })} + fill={themeColor('text')} /> ); @@ -189,6 +190,7 @@ export default class ChannelView extends React.Component< isValid: true }) } + fill={themeColor('text')} /> );