From 7655d786c17052a85b832b64f16d0be5828f6fb2 Mon Sep 17 00:00:00 2001 From: Evan Kaloudis Date: Thu, 13 Apr 2023 14:44:20 -0400 Subject: [PATCH] NodeConfiguration: temp fix for cut off Macaroon field --- views/Settings/NodeConfiguration.tsx | 53 +++++++++++----------------- 1 file changed, 21 insertions(+), 32 deletions(-) diff --git a/views/Settings/NodeConfiguration.tsx b/views/Settings/NodeConfiguration.tsx index ddbbd5cdb..b75b98ffc 100644 --- a/views/Settings/NodeConfiguration.tsx +++ b/views/Settings/NodeConfiguration.tsx @@ -1,8 +1,6 @@ import * as React from 'react'; import { Modal, - Platform, - KeyboardAvoidingView, StyleSheet, Text, View, @@ -518,8 +516,6 @@ export default class NodeConfiguration extends React.Component< ); }; - const keyboardVerticalOffset = Platform.OS === 'ios' ? 40 : 0; - return (
+ + {localeString( + 'views.Settings.AddEditNode.macaroon' + )} + + + this.setState({ + macaroonHex: text.trim(), + saved: false + }) + } + locked={loading} + /> + - - - - {localeString( - 'views.Settings.AddEditNode.macaroon' - )} - - - this.setState({ - macaroonHex: text.trim(), - saved: false - }) - } - locked={loading} - /> - )}