Fix payment method select on book table on Android app

This commit is contained in:
Reckless_Satoshi 2022-11-07 02:33:40 -08:00
parent f65cef2d8d
commit 8cf6b3bd32
No known key found for this signature in database
GPG Key ID: 9C4585B561315571

View File

@ -148,7 +148,7 @@ const BookControl = ({
</Grid>
) : null}
{width > mediumToolbarWidth ? (
{width > mediumToolbarWidth && window.NativeRobosats === undefined ? (
<Grid item>
<AutocompletePayments
sx={{
@ -176,7 +176,9 @@ const BookControl = ({
</Grid>
) : 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 ? (
<Grid item>
<Select
sx={{