Skip to content

Commit

Permalink
chore: upgrade compose
Browse files Browse the repository at this point in the history
  • Loading branch information
xfqwdsj committed Jan 25, 2024
1 parent bf3123d commit f647b36
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions composeApp/src/commonMain/kotlin/ui/pages/root/SignIn.kt
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ import androidx.compose.foundation.text.KeyboardActions
import androidx.compose.foundation.text.KeyboardOptions
import androidx.compose.foundation.verticalScroll
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.automirrored.filled.ArrowBack
import androidx.compose.material.icons.automirrored.filled.ArrowForward
import androidx.compose.material.icons.automirrored.filled.Send
import androidx.compose.material.icons.filled.*
import androidx.compose.material3.*
import androidx.compose.runtime.*
Expand Down Expand Up @@ -92,7 +95,7 @@ fun SignIn(component: SignInComponent) {
onClick = pop ?: {},
content = {
Icon(
imageVector = Icons.Default.ArrowBack,
imageVector = Icons.AutoMirrored.Default.ArrowBack,
contentDescription = "返回",
)
},
Expand Down Expand Up @@ -652,12 +655,12 @@ fun SignInComponent.ComponentState.PhoneNumberVerifyCodeState.NextOrSubmitButton
) { targetState ->
if (targetState) {
Icon(
imageVector = Icons.Default.ArrowForward,
imageVector = Icons.AutoMirrored.Default.ArrowForward,
contentDescription = "登录",
)
} else {
Icon(
imageVector = Icons.Default.Send,
imageVector = Icons.AutoMirrored.Default.Send,
contentDescription = "发送验证码",
)
}
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ agp = "8.2.1"
androidx-core-splashscreen = "1.0.1"
androidx-window = "1.2.0"
androidx-activity-compose = "1.8.2"
compose-plugin = "1.6.0-dev1369"
compose-plugin = "1.6.0-beta01"
decompose = "3.0.0-alpha04"
kotlin = "1.9.22"
kotlinx-coroutines = "1.7.3"
Expand Down

0 comments on commit f647b36

Please sign in to comment.