Skip to content

Commit

Permalink
POS: Order: fix RNPrint check
Browse files Browse the repository at this point in the history
  • Loading branch information
kaloudis committed Mar 6, 2024
1 parent d86697c commit 2d3d61c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/Order.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export default class OrderView extends React.Component<OrderProps, OrderState> {
const fiat = settings.fiat;
const disableTips: boolean = settings?.pos?.disableTips || false;
const enablePrinter: boolean =
(settings?.pos?.enablePrinter && RNPrint) || false;
(settings?.pos?.enablePrinter && !!RNPrint) || false;
const merchantName = settings?.pos?.merchantName;
const taxPercentage = settings?.pos?.taxPercentage;

Expand Down

0 comments on commit 2d3d61c

Please sign in to comment.