Skip to content

fix: controls dialog side display#21078

Open
BrayanDSO wants to merge 1 commit into
ankidroid:mainfrom
BrayanDSO:fix/controls-desc
Open

fix: controls dialog side display#21078
BrayanDSO wants to merge 1 commit into
ankidroid:mainfrom
BrayanDSO:fix/controls-desc

Conversation

@BrayanDSO
Copy link
Copy Markdown
Member

Fixes

How Has This Been Tested?

Emulator 31

Screenshot_20260518_085316

Checklist

Please, go through these checks before submitting the PR.

  • You have a descriptive commit message with a short title (first line, max 50 chars).
  • You have commented your code, particularly in hard-to-understand areas
  • You have performed a self-review of your own code
  • UI changes: include screenshots of all affected screens (in particular showing any new or changed strings)
  • UI Changes: You have tested your change using the Google Accessibility Scanner

Copy link
Copy Markdown
Contributor

@Giyutomioka-SS Giyutomioka-SS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Copy link
Copy Markdown
Member

@david-allison david-allison left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, non blocking requests

override fun getDisplayString(mappableBinding: MappableBinding): String {
val side = (preference as? ReviewerControlPreference)?.side
return if (side != null) {
mappableBinding.binding.toDisplayString(requireContext())
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a comment, or a test/needstest

@david-allison david-allison added Needs Second Approval Has one approval, one more approval to merge and removed Needs Review labels May 20, 2026
@BrayanDSO BrayanDSO force-pushed the fix/controls-desc branch from 0486bfe to 1e71eb8 Compare May 20, 2026 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs Second Approval Has one approval, one more approval to merge Queued for Cherry Pick to Stable Branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Answer actions dialogs still show "A:"/"Q:" prefixes

3 participants