From 8cf6b3bd3247ababa6f623670b5851d75a2e2b36 Mon Sep 17 00:00:00 2001 From: Reckless_Satoshi Date: Mon, 7 Nov 2022 02:33:40 -0800 Subject: [PATCH] Fix payment method select on book table on Android app --- frontend/src/components/BookTable/BookControl.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/BookTable/BookControl.tsx b/frontend/src/components/BookTable/BookControl.tsx index 1a5c3c2b..b9ac000d 100644 --- a/frontend/src/components/BookTable/BookControl.tsx +++ b/frontend/src/components/BookTable/BookControl.tsx @@ -148,7 +148,7 @@ const BookControl = ({ ) : null} - {width > mediumToolbarWidth ? ( + {width > mediumToolbarWidth && window.NativeRobosats === undefined ? ( ) : null} - {width > smallestToolbarWidth && width < mediumToolbarWidth ? ( + {/* Native Android app must always show the Select, as the on display keyboard does not play well with the book table component */} + {(width > smallestToolbarWidth && width < mediumToolbarWidth) || + window.NativeRobosats != undefined ? (