From f6a47a6cea34ed1d823d0df8437573a77840ce93 Mon Sep 17 00:00:00 2001 From: sneak Date: Wed, 25 Feb 2026 18:30:19 +0700 Subject: [PATCH] Show $0.00 instead of < $0.01 for zero balances --- src/popup/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/popup/index.js b/src/popup/index.js index 6ea553c..14ea481 100644 --- a/src/popup/index.js +++ b/src/popup/index.js @@ -138,6 +138,7 @@ async function refreshPrices() { function formatUsd(amount) { if (amount === null || amount === undefined || isNaN(amount)) return ""; + if (amount === 0) return "$0.00"; if (amount < 0.01) return "< $0.01"; return ( "$" +