Skip to content

Commit c0a6090

Browse files
committed
修复更新对话框的抽搐问题
1 parent fe71ddd commit c0a6090

File tree

1 file changed

+1
-3
lines changed
  • app/shared/src/main/kotlin/dev/aaa1115910/bv/component/settings

1 file changed

+1
-3
lines changed

app/shared/src/main/kotlin/dev/aaa1115910/bv/component/settings/UpdateDialog.kt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ package dev.aaa1115910.bv.component.settings
22

33
import android.content.Intent
44
import android.content.res.Configuration
5-
import androidx.compose.animation.animateContentSize
65
import androidx.compose.animation.core.animateFloatAsState
76
import androidx.compose.foundation.layout.Arrangement
87
import androidx.compose.foundation.layout.Column
@@ -184,8 +183,7 @@ private fun UpdateDialogContent(
184183
) {
185184
AlertDialog(
186185
modifier = modifier
187-
.width(400.dp)
188-
.animateContentSize(),
186+
.width(400.dp),
189187
onDismissRequest = { onHideDialog() },
190188
title = {
191189
ProvideTextStyle(

0 commit comments

Comments
 (0)