iris-android-app: FIELDS_PER_LINE is gated with the reader that uses it

`cargo ndk check` on the default features warned that it was never used:
its only reader is `line_fields`, which is `#[cfg(feature =
"transcript-screen")]` because the tabs demo links no `client-core` and
so has no ring to lay out.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
irisandClaude Opus 5 committed 2026-09-08 15:27:31 -04:00
1 parent fe7dc9c728
commit c121bc0725
1 file changed
+5
+5
View File
@@ -30,6 +30,11 @@ use std::sync::OnceLock;
/// `seq`, `t_ms`, `level`, `target`, `message`, in that order. The Java /// `seq`, `t_ms`, `level`, `target`, `message`, in that order. The Java
/// side has the same constant, and the two are the one place the shape is /// side has the same constant, and the two are the one place the shape is
/// written down on each side. /// written down on each side.
///
/// Gated with its one reader: the tabs demo links no `client-core` and so
/// has no ring to lay out, and an ungated constant is a warning in that
/// build (`iris-android-app` without `transcript-screen`).
#[cfg(feature = "transcript-screen")]
const FIELDS_PER_LINE: usize = 5; const FIELDS_PER_LINE: usize = 5;
/// The authority the provider registered itself under, once it has been /// The authority the provider registered itself under, once it has been