Submap currently supports USD, EUR, INR, and GBP. Many users want to track in other currencies.
What to add:
Support for at least these currencies in src/types.ts:
| Code |
Symbol |
Label |
| AUD |
A$ |
Australian Dollar |
| CAD |
C$ |
Canadian Dollar |
| JPY |
¥ |
Japanese Yen |
| CHF |
Fr |
Swiss Franc |
How to do it:
- Open
src/types.ts
- Add entries to the
CurrencyCode type and the CURRENCIES array:
export type CurrencyCode = 'USD' | 'EUR' | 'INR' | 'GBP' | 'AUD' | 'CAD' | 'JPY' | 'CHF';
- Add each currency object to
CURRENCIES:
{ code: 'AUD', symbol: 'A$', label: 'Australian Dollar' },
- Run
npm run lint — no TypeScript errors should appear
- Test: open the app, go to Settings, confirm the new currencies appear in the selector
Why this helps: Submap already has locale-correct formatting, so new currencies just work once added to the type definition. No backend changes needed.
No deep knowledge required — this is a great first contribution.
Submap currently supports USD, EUR, INR, and GBP. Many users want to track in other currencies.
What to add:
Support for at least these currencies in
src/types.ts:How to do it:
src/types.tsCurrencyCodetype and theCURRENCIESarray:CURRENCIES:npm run lint— no TypeScript errors should appearWhy this helps: Submap already has locale-correct formatting, so new currencies just work once added to the type definition. No backend changes needed.
No deep knowledge required — this is a great first contribution.