Skip to content

Commit d6007ef

Browse files
committed
Revert "prefix に b/n"
This reverts commit 055cac5.
1 parent d75ad94 commit d6007ef

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

app/src/main/java/io/github/takusan23/newradiosupporter/ui/component/LogcatPhysicalChannelConfigInfo.kt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -165,14 +165,12 @@ private fun NotExpandedInfo(
165165

166166
BandChip(
167167
borderColor = MaterialTheme.colorScheme.primary,
168-
isNr = primaryCell.isNR,
169168
band = primaryCell.band
170169
)
171170

172171
secondaryCellList.forEach { cell ->
173172
BandChip(
174173
borderColor = MaterialTheme.colorScheme.secondary,
175-
isNr = primaryCell.isNR,
176174
band = cell.band
177175
)
178176
}
@@ -353,7 +351,6 @@ private fun Table(
353351
private fun BandChip(
354352
modifier: Modifier = Modifier,
355353
borderColor: Color,
356-
isNr: Boolean,
357354
band: String
358355
) {
359356
Surface(
@@ -365,7 +362,7 @@ private fun BandChip(
365362
) {
366363
Text(
367364
modifier = Modifier.padding(horizontal = 10.dp, vertical = 3.dp),
368-
text = if (isNr) "n$band" else "b$band"
365+
text = band
369366
)
370367
}
371368
}

0 commit comments

Comments
 (0)