From ed1963566ae8b4c463d56bf6fc5ac4593b28bed3 Mon Sep 17 00:00:00 2001 From: Louis CAD Date: Thu, 8 Jan 2026 15:32:15 +0100 Subject: [PATCH 1/3] chore: Add android kmp library to Gradle version catalog --- gradle/core.versions.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/gradle/core.versions.toml b/gradle/core.versions.toml index d44e188e7..2955fdf33 100644 --- a/gradle/core.versions.toml +++ b/gradle/core.versions.toml @@ -206,6 +206,7 @@ stdlib = { module = "org.jetbrains.kotlin:kotlin-stdlib", version.ref = "kotlin" [plugins] android-application = { id = "com.android.application", version.ref = "agp" } android-library = { id = "com.android.library", version.ref = "agp" } +android-kmp-library = { id = "com.android.kotlin.multiplatform.library", version.ref = "agp" } compose-compiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" } dagger-hilt = { id = "com.google.dagger.hilt.android", version.ref = "hiltAndroid" } kapt = { id = "org.jetbrains.kotlin.kapt", version.ref = "kotlin" } From 6143cc7e5e65e64ac87e643823d97e6f65aef05f Mon Sep 17 00:00:00 2001 From: Jamy Bailly Date: Fri, 9 Jan 2026 15:20:15 +0100 Subject: [PATCH 2/3] feat: Add compose graphic --- gradle/core.versions.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/gradle/core.versions.toml b/gradle/core.versions.toml index 2955fdf33..a0b3f176e 100644 --- a/gradle/core.versions.toml +++ b/gradle/core.versions.toml @@ -93,6 +93,7 @@ compose-material-icons = { group = "androidx.compose.material", name = "material compose-runtime = { module = "androidx.compose.runtime:runtime" } compose-ui = { module = "androidx.compose.ui:ui" } compose-ui-android = { module = "androidx.compose.ui:ui-android" } +compose-ui-graphics = { module = "androidx.compose.ui:ui-graphics" } compose-ui-tooling = { module = "androidx.compose.ui:ui-tooling" } compose-ui-tooling-preview = { module = "androidx.compose.ui:ui-tooling-preview" } constraintlayout = { module = "androidx.constraintlayout:constraintlayout", version.ref = "constraintLayout" } From e0b57f6c944be5927c79242d1f54198af69e1bec Mon Sep 17 00:00:00 2001 From: Vincent Te Date: Wed, 28 Jan 2026 15:55:40 +0100 Subject: [PATCH 3/3] chore: Add FAB to SinglePaneScaffold --- .../compose/bottomstickybuttonscaffolds/SinglePaneScaffold.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Ui/Compose/BottomStickyButtonScaffolds/src/main/kotlin/com/infomaniak/core/ui/compose/bottomstickybuttonscaffolds/SinglePaneScaffold.kt b/Ui/Compose/BottomStickyButtonScaffolds/src/main/kotlin/com/infomaniak/core/ui/compose/bottomstickybuttonscaffolds/SinglePaneScaffold.kt index d4c925797..04b54dec8 100644 --- a/Ui/Compose/BottomStickyButtonScaffolds/src/main/kotlin/com/infomaniak/core/ui/compose/bottomstickybuttonscaffolds/SinglePaneScaffold.kt +++ b/Ui/Compose/BottomStickyButtonScaffolds/src/main/kotlin/com/infomaniak/core/ui/compose/bottomstickybuttonscaffolds/SinglePaneScaffold.kt @@ -41,6 +41,7 @@ fun SinglePaneScaffold( maxPaneWidth: Dp = LocalScaffoldTheme.current.singlePaneMaxWidth, containerColor: Color = MaterialTheme.colorScheme.background, topBar: @Composable () -> Unit = {}, + floatingActionButton: @Composable () -> Unit = {}, bottomBar: @Composable () -> Unit = {}, snackbarHost: @Composable () -> Unit = {}, content: @Composable (PaddingValues) -> Unit, @@ -48,6 +49,7 @@ fun SinglePaneScaffold( Scaffold( modifier = modifier, topBar = topBar, + floatingActionButton = floatingActionButton, bottomBar = bottomBar, snackbarHost = snackbarHost, containerColor = containerColor,