feat: include band in the self-spot toast (Spotted by X on 20m with ...)
This commit is contained in:
@@ -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 () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user