Files
Amber/.github/PULL_REQUEST_TEMPLATE.md
greenart7c3 d8e4caad67 Fix Android Studio's inspection findings and turn off its spell check
Android Studio's batch inspections reported about 800 problems besides
spelling, which the project profile now leaves off (it mostly flagged
the translations).

Real bugs among them: the desktop's strings files had empty strings
where Android has translations (German, Spanish, Brazilian Portuguese,
Chinese), showing blank text; and IS_FDROID_BUILD, which the F-Droid
workflow flips with sed, was read as a constant the IDE wanted to
simplify away, so it is now read through BuildFlavorChecker.isFdroidBuild().
Account loads in coroutines (relay, intent and UI paths) and logout no
longer block a thread with runBlocking; the blocking ContentProvider
path and the desktop lock say why they do.

Also remove what was dead (the drawable IconRow overload, PermissionCard,
ConfirmationToastMsg, the desktop OkHttpWebSocket.Builder and
DeleteAfterType.screenCode, the QR drawer's zero corner radius math and
the strings only they used), move to the Duration overloads, give
subject-less when blocks their subject, drop redundant opt-ins, suspend
modifiers, qualifiers and SAM constructors, fix broken KDoc links, take
the ktlint and KSP plugin versions from the catalog, strip editor
metadata from the SVGs, align the Markdown tables and fix real grammar
and spelling in comments, docs and three English strings.
2026-10-26 17:28:06 -03:00

2.0 KiB

Summary

Test plan

  • ./gradlew ktlintCheck detektAll lint passes
  • ./gradlew test passes
  • ./gradlew assembleDebug builds both flavors
  • Tested by hand on a device or emulator (notes below)
  • Checked the offline flavor, or the change can't affect it
  • New or changed strings are translated in every locale

Device / Android version / flavor:

Notes / screenshots:

AI assistance

  • Drafted with AI assistance, then fully reviewed and tested by hand
  • Written by hand

If "Drafted with AI assistance" is ticked, a human must have reviewed the whole diff and tested the app by hand on a device before this PR was opened. See CONTRIBUTING-WITH-AI.md.

License

  • By submitting this PR, I agree to license my contribution under the MIT license. Any code I did not write personally carries its original license header.