UI: stop bolding location subtitle names; only bold the channel label when count > 0

This commit is contained in:
jack
2025-08-21 01:18:44 +02:00
parent ba1dd100ec
commit de39ab6687
+1 -1
View File
@@ -106,7 +106,7 @@ struct LocationChannelsSheet: View {
let namePart = nameBase.map { formattedNamePrefix(for: channel.level) + $0 }
let subtitlePrefix = "#\(channel.geohash)\(coverage)"
let highlight = viewModel.geohashParticipantCount(for: channel.geohash) > 0
channelRow(title: geohashTitleWithCount(for: channel), subtitlePrefix: subtitlePrefix, subtitleName: namePart, subtitleNameBold: highlight, isSelected: isSelected(channel), titleBold: highlight) {
channelRow(title: geohashTitleWithCount(for: channel), subtitlePrefix: subtitlePrefix, subtitleName: namePart, isSelected: isSelected(channel), titleBold: highlight) {
manager.select(ChannelID.location(channel))
isPresented = false
}