Fix lint ByteOrderMark : BOM litteral -> escape \uFEFF (RemoteDocumentViewer)
CI / lint-backend (push) Successful in 1m24s
CI / lint-mobile (push) Successful in 9m1s
CI / test-backend (push) Successful in 1m44s
CI / test-mobile (push) Successful in 9m2s
CI / build-backend (push) Successful in 47s
CI / docker (push) Successful in 8s

This commit is contained in:
venture
2026-09-26 21:08:16 +02:00
parent 4316da578f
commit 5d39d49bf5
@@ -280,7 +280,7 @@ private fun RemoteTextViewer(bytes: ByteArray, modifier: Modifier = Modifier) {
val text = remember(bytes) {
val capped = bytes.size > REMOTE_TEXT_MAX
val length = minOf(bytes.size, REMOTE_TEXT_MAX)
String(bytes, 0, length, Charsets.UTF_8).removePrefix("") to capped
String(bytes, 0, length, Charsets.UTF_8).removePrefix("\uFEFF") to capped
}
Column(modifier.fillMaxSize()) {
if (text.second) {