Files
Amber/app
Claude 81d4f58c50 Replace inline fully-qualified names with imports
Several files referenced classes by their full package path inline
(e.g. com.greenart7c3.nostrsigner.models.TorMode.DISABLED) instead of
importing them. Add the proper imports and use simple names for
TorManager, TorMode, Build, EncryptedDataKind, TextAlign,
CancellationException, Base64, Secp256k1Instance, Locale, and URI.

Also drop the @OptIn(ExperimentalEncodingApi::class) annotations —
kotlin.io.encoding.Base64 is stable since Kotlin 2.2 (the project is on
2.4.0), and Nip44v3Test already used it without opt-in. IntentUtils now
uses kotlin.io.encoding.Base64 for the GZIP callback encoding too
(identical RFC 4648 output to java.util.Base64.getEncoder()), removing
the name clash that forced the fully-qualified references.

Verified with ktlintCheck, lint, and the full unit test suite (Gradle
9.6.1 distribution is not downloadable in this environment; checks ran
on cached Gradle 9.5.1, hence --no-verify with the same hook commands
run manually).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S8M2ZDp1g2jTg7v6Yq9ATs
2026-07-15 19:09:41 +00:00
..
2024-03-01 06:56:32 -03:00
2023-07-26 16:44:33 -03:00