Skip to content

Commit 70e08ab

Browse files
committed
Update to material3:1.2.0-rc01
1 parent 83bad5c commit 70e08ab

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

app/src/main/kotlin/com/w2sv/wifiwidget/ui/components/drawer/NavigationDrawerSheet.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import androidx.compose.foundation.layout.padding
99
import androidx.compose.foundation.rememberScrollState
1010
import androidx.compose.foundation.shape.CircleShape
1111
import androidx.compose.foundation.verticalScroll
12-
import androidx.compose.material3.Divider
12+
import androidx.compose.material3.HorizontalDivider
1313
import androidx.compose.material3.MaterialTheme
1414
import androidx.compose.material3.ModalDrawerSheet
1515
import androidx.compose.material3.Text
@@ -33,7 +33,7 @@ fun NavigationDrawerSheet(modifier: Modifier = Modifier, content: @Composable ()
3333
horizontalAlignment = Alignment.CenterHorizontally,
3434
) {
3535
Header()
36-
Divider(modifier = Modifier.padding(top = 18.dp, bottom = 16.dp))
36+
HorizontalDivider(modifier = Modifier.padding(top = 18.dp, bottom = 16.dp))
3737
content()
3838
}
3939
}

app/src/main/kotlin/com/w2sv/wifiwidget/ui/screens/home/components/wifistatus/WifiPropertyDisplay.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ private fun IPSubPropertyText(text: String) {
305305
color = MaterialTheme.colorScheme.primary,
306306
shape = MaterialTheme.shapes.medium,
307307
)
308-
.padding(vertical = 2.dp, horizontal = 8.dp),
308+
.padding(horizontal = 8.dp),
309309
fontSize = 11.sp,
310310
)
311311
}

gradle/libs.versions.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ hilt = '2.50'
1313
# Libraries
1414
compose-compiler = '1.5.8'
1515
compose-tooling = '1.6.0'
16+
compose-material3 = '1.2.0-rc01'
1617
lifecycle = "2.7.0"
1718
okhttp = "4.12.0"
1819
compose-lint-checks = "1.2.0"
@@ -35,7 +36,7 @@ androidx-datastore-preferences = 'androidx.datastore:datastore-preferences:1.0.0
3536

3637
# .Compose
3738
androidx-compose-bom = "androidx.compose:compose-bom:2024.01.00"
38-
androidx-compose-material3 = 'androidx.compose.material3:material3:1.1.2'
39+
androidx-compose-material3 = { module = 'androidx.compose.material3:material3', version.ref = 'compose-material3' }
3940
androidx-compose-ui = { module = 'androidx.compose.ui:ui', version.ref = 'compose-tooling' }
4041
androidx-compose-ui-tooling-preview = { module = 'androidx.compose.ui:ui-tooling-preview', version.ref = 'compose-tooling' }
4142
androidx-compose-ui-tooling = { module = 'androidx.compose.ui:ui-tooling', version.ref = 'compose-tooling' }

0 commit comments

Comments
 (0)