File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
app/src/main/java/io/github/takusan23/newradiosupporter/ui/component Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -165,12 +165,14 @@ private fun NotExpandedInfo(
165165
166166 BandChip (
167167 borderColor = MaterialTheme .colorScheme.primary,
168+ isNr = primaryCell.isNR,
168169 band = primaryCell.band
169170 )
170171
171172 secondaryCellList.forEach { cell ->
172173 BandChip (
173174 borderColor = MaterialTheme .colorScheme.secondary,
175+ isNr = primaryCell.isNR,
174176 band = cell.band
175177 )
176178 }
@@ -351,6 +353,7 @@ private fun Table(
351353private fun BandChip (
352354 modifier : Modifier = Modifier ,
353355 borderColor : Color ,
356+ isNr : Boolean ,
354357 band : String
355358) {
356359 Surface (
@@ -362,7 +365,7 @@ private fun BandChip(
362365 ) {
363366 Text (
364367 modifier = Modifier .padding(horizontal = 10 .dp, vertical = 3 .dp),
365- text = band
368+ text = if (isNr) " n $ band" else " b $band "
366369 )
367370 }
368371}
You can’t perform that action at this time.
0 commit comments