Skip to content

test(card-browser): menus#20212

Merged
mikehardy merged 1 commit intoankidroid:mainfrom
david-allison:card-browser-menu-test
Jan 30, 2026
Merged

test(card-browser): menus#20212
mikehardy merged 1 commit intoankidroid:mainfrom
david-allison:card-browser-menu-test

Conversation

@david-allison
Copy link
Member

@david-allison david-allison commented Jan 24, 2026

I want to do a large refactoring, and confirming the defaults are unchanged will go a long way in proving functionality is unchanged

For:

How Has This Been Tested?

Test-only

Checklist

  • 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

I want to do a large refactoring, and confirming
 the defaults are unchanged will go a long way
Comment on lines +41 to +56
suspend fun withSplitPaneUiAsync(block: suspend () -> Unit) = withQualifierAsync("sw700dp", block)

suspend fun withQualifierAsync(
newQualifier: String,
block: suspend () -> Unit,
) {
val qualifiers = RuntimeEnvironment.getQualifiers()
try {
Timber.d("Adding '$newQualifier' to qualifiers $qualifiers")
RuntimeEnvironment.setQualifiers("+$newQualifier")
block()
} finally {
Timber.d("Resetting qualifiers to $qualifiers")
RuntimeEnvironment.setQualifiers(qualifiers)
}
}
Copy link
Member

Choose a reason for hiding this comment

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

nice

Copy link
Member

@mikehardy mikehardy left a comment

Choose a reason for hiding this comment

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

sure, let's go

@mikehardy mikehardy added this pull request to the merge queue Jan 30, 2026
@mikehardy mikehardy added Pending Merge Things with approval that are waiting future merge (e.g. targets a future release, CI wait, etc) and removed Needs Review labels Jan 30, 2026
Merged via the queue into ankidroid:main with commit 6829772 Jan 30, 2026
15 checks passed
@github-actions github-actions bot removed the Pending Merge Things with approval that are waiting future merge (e.g. targets a future release, CI wait, etc) label Jan 30, 2026
@github-actions github-actions bot added this to the 2.24 release milestone Jan 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants