Skip to content

Commit

Permalink
Merge pull request #900 from WatWowMap/fix-scan-fab-btns
Browse files Browse the repository at this point in the history
fix: active scanNext/scanZone btns
  • Loading branch information
TurtIeSocks authored Dec 29, 2023
2 parents b1e873c + 5d5f8bb commit 4b5e818
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/layout/FloatingBtn.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ export default function FloatingButtons() {
)}
{fabButtons.scanNext && (
<Fab
color={scanNextMode === 'setLocation' ? 'error' : 'secondary'}
color={scanNextMode === 'setLocation' ? 'primary' : 'secondary'}
size={fabSize}
onClick={handleClick('scanNextMode')}
title={t('scan_next')}
Expand All @@ -181,7 +181,7 @@ export default function FloatingButtons() {
)}
{fabButtons.scanZone && (
<Fab
color={scanZoneMode === 'setLocation' ? 'error' : 'secondary'}
color={scanZoneMode === 'setLocation' ? 'primary' : 'secondary'}
size={fabSize}
onClick={handleClick('scanZoneMode')}
title={t('scan_zone')}
Expand Down

0 comments on commit 4b5e818

Please sign in to comment.