feat: include band in the self-spot toast (Spotted by X on 20m with ...)

This commit is contained in:
2026-07-21 10:08:11 +02:00
parent 408791ddf5
commit 1630c8fdf4
+2 -1
View File
@@ -1939,7 +1939,8 @@ export default function App() {
if (mine && (sp.dx_call ?? '').toUpperCase() === mine) { if (mine && (sp.dx_call ?? '').toUpperCase() === mine) {
const by = cleanSpotter(sp.spotter ?? '') || '?'; const by = cleanSpotter(sp.spotter ?? '') || '?';
const c = (sp.comment ?? '').trim(); const c = (sp.comment ?? '').trim();
showToast(`Spotted by ${by}${c ? ` with ${c}` : ''}`); const bnd = (sp.band ?? '').trim();
showToast(`Spotted by ${by}${bnd ? ` on ${bnd}` : ''}${c ? ` with ${c}` : ''}`);
} }
}); });
return () => { return () => {