diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/main/components/AppNavigationSuiteScaffold.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/main/components/AppNavigationSuiteScaffold.kt index 18d44d5b0..1fcdcb220 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/main/components/AppNavigationSuiteScaffold.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/main/components/AppNavigationSuiteScaffold.kt @@ -128,6 +128,7 @@ private fun AppNavigationRail( navigationItems.forEach { navigationItem -> NavigationRailItem( icon = { NavigationIcon(false, navigationItem) }, + label = {}, // Don't remove this seemingly useless label, it changes the icons background. selected = currentDestination == navigationItem.destination, onClick = { onClick(navigationItem.destination) }, ) diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/main/received/components/ReceivedEmptyFab.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/main/received/components/ReceivedEmptyFab.kt index 2242fad21..28c378387 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/main/received/components/ReceivedEmptyFab.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/main/received/components/ReceivedEmptyFab.kt @@ -67,7 +67,7 @@ fun ReceivedEmptyFab(isMessageVisible: () -> Boolean) { } NewTransferFab( - modifier = Modifier.constrainAs(fab) { }, + modifier = Modifier.constrainAs(fab) {}, newTransferFabType = NewTransferFabType.BOTTOM_BAR, ) } diff --git a/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/main/settings/components/OptionScaffold.kt b/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/main/settings/components/OptionScaffold.kt index fb7618c01..1db13707f 100644 --- a/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/main/settings/components/OptionScaffold.kt +++ b/app/src/main/java/com/infomaniak/swisstransfer/ui/screen/main/settings/components/OptionScaffold.kt @@ -79,8 +79,8 @@ private fun OptionScaffoldPreview() { optionTitleRes = R.string.settingsThemeTitle, enumEntries = ThemeOption.entries, selectedSettingOptionPosition = 0, - setSelectedSettingOptionPosition = { }, - navigateBack = { }, + setSelectedSettingOptionPosition = {}, + navigateBack = {}, ) } }