fix: Hide public channel and show signal pills #123

This commit is contained in:
Janez T
2026-03-23 15:04:45 +01:00
parent 4c048a5a50
commit 019224d955
3 changed files with 70 additions and 0 deletions

View File

@@ -429,6 +429,7 @@ class _SettingsScreenState extends State<SettingsScreen> {
Future<void> _editFastLocationChannel() async {
final channels =
List<Contact>.from(context.read<ContactsProvider>().channels)
..removeWhere((c) => c.isPublicChannel)
..sort((a, b) {
final aIdx = a.publicKey.length > 1 ? a.publicKey[1] : 0;
final bIdx = b.publicKey.length > 1 ? b.publicKey[1] : 0;