Skip to content

Commit

Permalink
Update dependency com.facebook:ktfmt to v0.46 (#886)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [com.facebook:ktfmt](https://github.com/facebookincubator/ktfmt) |
dependencies | minor | `0.44` -> `0.46` |

---

### ⚠ Dependency Lookup Warnings ⚠

Warnings were logged while processing this repo. Please check the
Dependency Dashboard for more information.

---

### Release Notes

<details>
<summary>facebookincubator/ktfmt (com.facebook:ktfmt)</summary>

### [`v0.46`](https://github.com/facebook/ktfmt/releases/tag/v0.46):
0.46

-   Now targeting Kotlin 1.8.22
- Adjust .editorconfig for kotlinlang style for IntelliJ to better align
with ktfmt
([#&#8203;412](https://github.com/facebookincubator/ktfmt/issues/412))
- Fix indentation of trailing comments in a bunch of cases
([#&#8203;418](https://github.com/facebookincubator/ktfmt/issues/418))

Big thanks to [@&#8203;nreid260](https://github.com/nreid260) and
[@&#8203;cloudshiftchris](https://github.com/cloudshiftchris) for
their contributions!

### [`v0.45`](https://github.com/facebook/ktfmt/releases/tag/v0.45):
0.45

Fixed

- Line break after `@sample` breaks Intellij functionality
([#&#8203;310](https://github.com/facebookincubator/ktfmt/issues/310))
- Don't insert blank lines between line comments at the end of files
([#&#8203;401](https://github.com/facebookincubator/ktfmt/issues/401))
- Support labeled lambdas in block-like scoping functions
([#&#8203;403](https://github.com/facebookincubator/ktfmt/issues/403))
-   Guava bump 29.0 to 32.0
- Keep imports from the same package if the name is overloaded
([#&#8203;414](https://github.com/facebookincubator/ktfmt/issues/414))
- Support context receivers
([#&#8203;397](https://github.com/facebookincubator/ktfmt/issues/397),
[#&#8203;314](https://github.com/facebookincubator/ktfmt/issues/314)
and
[#&#8203;374](https://github.com/facebookincubator/ktfmt/issues/374))
- Fix double indentation in Elvis chains
([#&#8203;416](https://github.com/facebookincubator/ktfmt/issues/416))
- Use inExpression in a nullsafe way
([#&#8203;417](https://github.com/facebookincubator/ktfmt/issues/417))

Huge thanks to [@&#8203;nreid260](https://github.com/nreid260) and
[@&#8203;bddckr](https://github.com/bddckr) for the contributions!

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi45Ny4xIiwidXBkYXRlZEluVmVyIjoiMzYuOTcuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

---------

Co-authored-by: Zac Sweers <pandanomic@gmail.com>
  • Loading branch information
slack-oss-bot and ZacSweers authored Sep 20, 2023
1 parent 9972ea1 commit 44f06f9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ kotlin = "1.9.10"
kotlinpoet = "1.14.2"
kotlinx-coroutines = "1.7.3"
ksp = "1.9.10-1.0.13"
ktfmt = "0.44"
ktfmt = "0.46"
leakcanary = "2.12"
material = "1.6.1"
material-composeThemeAdapter = "1.2.1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ class CoilRule(
Coil.setImageLoader {
contextProvider?.let {
ImageLoader.Builder(it()).components { add(engineProvider()) }.build()
}
?: FakeImageLoader(engineProvider())
} ?: FakeImageLoader(engineProvider())
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ fun BackPressNavIcon(
val finalOnClick = remember {
onClick
?: backPressOwner?.onBackPressedDispatcher?.let { dispatcher -> dispatcher::onBackPressed }
?: error("No local LocalOnBackPressedDispatcherOwner found.")
?: error("No local LocalOnBackPressedDispatcherOwner found.")
}
IconButton(modifier = modifier, onClick = finalOnClick) { iconButtonContent() }
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,7 @@ private fun PhotoPager(
)
}
}
}
?: Modifier
} ?: Modifier
Card(
modifier =
clickableModifier.aspectRatio(1f).graphicsLayer {
Expand Down

0 comments on commit 44f06f9

Please sign in to comment.