Skip to content

Commit

Permalink
v1.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
ForteScarlet committed Mar 25, 2024
1 parent 990805e commit d71417d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 21 deletions.
10 changes: 6 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,11 @@ compose.desktop {
}
}

buildTypes.release.proguard {
obfuscate.set(false)
optimize.set(false)
}
// buildTypes.release.proguard {
// optimize.set(true)
// // obfuscate.set(true)
//
// // optimize.set(false)
// }
}
}
14 changes: 0 additions & 14 deletions src/main/kotlin/view/account/WeaponView.kt

This file was deleted.

4 changes: 1 addition & 3 deletions src/main/kotlin/view/account/home/AccountHomeView.kt
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ object AccountHomeView : AccountViewPage {
@Composable
private fun AccountHome(state: PageViewState) {
val nowMillis = System.currentTimeMillis()
val nowUTCMillis = Clock.systemUTC().millis()
val nowLocalDateTime = LocalDateTime.now()

val scope = rememberCoroutineScope()
Expand Down Expand Up @@ -260,7 +259,7 @@ private fun AccountHome(state: PageViewState) {

AnimatedVisibility(duration != null) {
// 打分
ScoreSelector(state, score)
ScoreSelector(score)
}

// AnimatedVisibility(duration != null) {
Expand Down Expand Up @@ -444,7 +443,6 @@ private inline fun WeaponSelector(
@OptIn(ExperimentalMaterial3Api::class)
@Composable
private fun ScoreSelector(
state: PageViewState,
scoreState: SliderState,
) {
val scoreValue = scoreState.value.toInt()
Expand Down

0 comments on commit d71417d

Please sign in to comment.