Skip to content

Unblock Android CI after ktfmt upgrade#198

Open
Copilot wants to merge 3 commits into
masterfrom
copilot/fix-failing-github-actions-job-build
Open

Unblock Android CI after ktfmt upgrade#198
Copilot wants to merge 3 commits into
masterfrom
copilot/fix-failing-github-actions-job-build

Conversation

Copilot AI commented Jun 6, 2026

Copy link
Copy Markdown
Contributor

The ktfmt upgrade for Kotlin 2.1 exposed formatting drift in a small set of app sources, which caused Android CI to fail on :app:ktfmtCheckMain. This change aligns those files with the formatter now enforced in CI.

  • What changed

    • Applied ktfmt-compatible formatting to the four app sources flagged by CI:
      • ListViewActivity.kt
      • AdvanceListsActivity.kt
      • DialogsActivity.kt
      • DynamicUIActivity.kt
  • Impact

    • Removes the formatting-only failure introduced by the stricter ktfmt check after the plugin upgrade
    • Keeps behavior unchanged; updates are limited to source layout, wrapping, and trailing-comma normalization
  • Representative change

    SmallTopAppBar(
      title = { Text(text = uiType) },
      navigationIcon = {
        IconButton(onClick = onback) {
          Icon(Icons.Filled.ArrowBack, contentDescription = stringResource(id = R.string.cd_back))
        }
      },
    )

Copilot AI changed the title [WIP] Fix failing GitHub Actions job build Unblock Android CI build by upgrading ktfmt plugin for Kotlin 2.1 Jun 6, 2026
Copilot AI requested a review from Gurupreet June 6, 2026 23:22
@Gurupreet Gurupreet marked this pull request as ready for review June 6, 2026 23:23
Copilot AI requested a review from Gurupreet June 6, 2026 23:31
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