Skip to content

Commit a58768b

Browse files
committed
chore: remove animation
1 parent 75b09e8 commit a58768b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

app/src/main/java/to/bitkit/ui/settings/backgroundPayments/BackgroundPaymentsSettings.kt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,13 +93,11 @@ private fun Content(
9393
onClick = onSystemSettingsClick
9494
)
9595

96-
AnimatedVisibility(
97-
visible = hasPermission,
98-
modifier = Modifier.padding(vertical = 16.dp),
99-
) {
96+
if (hasPermission) {
10097
BodyM(
10198
text = "Background payments are enabled. You can receive funds even when the app is closed (if your device is connected to the internet).",
10299
color = Colors.White64,
100+
modifier = Modifier.padding(vertical = 16.dp),
103101
)
104102
}
105103

0 commit comments

Comments
 (0)