Skip to content

Commit ce3f8aa

Browse files
committed
Update to Compose 1.1.0
1 parent 867264a commit ce3f8aa

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+58
-58
lines changed

README.md

Lines changed: 2 additions & 2 deletions

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@ android {
5757
compose true
5858
}
5959
composeOptions {
60-
kotlinCompilerExtensionVersion "1.0.5"
60+
kotlinCompilerExtensionVersion "1.1.0"
6161
}
6262
}
6363

6464
dependencies {
65-
def compose_version = "1.0.5"
65+
def compose_version = "1.1.0"
6666

6767
implementation fileTree(dir: 'libs', include: ['*.jar'])
6868
implementation "androidx.appcompat:appcompat:1.4.0"

app/src/main/java/de/jensklingenberg/jetpackcomposeplayground/mysamples/github/material/badgebox/BadgeBoxDemo.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ fun BadgeBoxDemo() {
1313
BottomNavigation {
1414
BottomNavigationItem(
1515
icon = {
16-
BadgeBox(badgeContent = { Text("8") }) {
16+
BadgedBox(badge = { Badge { Text("8") } }) {
1717
Icon(
1818
Icons.Filled.Favorite,
1919
contentDescription = "Favorite"

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
buildscript {
55
ext {
6-
compose_version = '1.0.5'
7-
kotlin_version = "1.5.31"
6+
compose_version = '1.1.0'
7+
kotlin_version = "1.6.10"
88
}
99
repositories {
1010
google()

desktop/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import org.jetbrains.compose.compose
22
import org.jetbrains.compose.desktop.application.dsl.TargetFormat
33

44
plugins {
5-
kotlin("multiplatform") version "1.5.31"
5+
kotlin("multiplatform") version "1.6.10"
66
id("org.jetbrains.compose") version "1.0.0-alpha3"
77
}
88
allprojects {

docs/activity/backhandler.md

Lines changed: 1 addition & 1 deletion

docs/animation/crossfade.md

Lines changed: 1 addition & 1 deletion

docs/cookbook/detect_darkmode.md

Lines changed: 1 addition & 1 deletion

docs/cookbook/get_android_context.md

Lines changed: 1 addition & 1 deletion

docs/cookbook/how_to_create_custom_shape.md

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)