Scan official MeshCore channel QR codes
The QR scanner only read community codes, so the standard meshcore://channel/add?name=...&secret=... links used by the official app and sites like ipnt.uk were rejected as invalid community codes. The scanner now also accepts channel links. It skips channels already on the radio, asks before adding, and only uses a free slot after the channel sync has finished. Also fills in the 59 untranslated strings in all 17 locales. Fixes #604
This commit is contained in:
1 parent
b6c67b113c
commit
b1e968e7bf
42 files changed
+3816
-1850
No files matched your search
@@ -1397,7 +1397,9 @@ class _ChannelsScreenState extends State<ChannelsScreen>
|
||||
}
|
||||
},
|
||||
icon: const Icon(Icons.qr_code_scanner),
|
||||
label: Text(sheetContext.l10n.community_scanQr),
|
||||
label: Text(
|
||||
sheetContext.l10n.channels_scanQrCode,
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
@@ -1601,8 +1603,8 @@ class _ChannelsScreenState extends State<ChannelsScreen>
|
||||
buildOptionCard(
|
||||
optionIndex: 4,
|
||||
icon: Icons.qr_code_scanner,
|
||||
title: sheetContext.l10n.community_scanQr,
|
||||
subtitle: sheetContext.l10n.community_join,
|
||||
title: sheetContext.l10n.channels_scanQrCode,
|
||||
subtitle: sheetContext.l10n.channels_scanQrCodeDesc,
|
||||
),
|
||||
if (selectedOption == 4) buildExpandedContent()!,
|
||||
SectionHeader(
|
||||
|
||||
Reference in new issue
Block a user