Skip to content

Commit c240b5d

Browse files
committed
Format file (no other change)
1 parent 21d5ff8 commit c240b5d

File tree

1 file changed

+19
-19
lines changed
  • features/securebackup/impl/src/main/kotlin/io/element/android/features/securebackup/impl/setup/views

1 file changed

+19
-19
lines changed

features/securebackup/impl/src/main/kotlin/io/element/android/features/securebackup/impl/setup/views/RecoveryKeyView.kt

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,14 @@ private fun RecoveryKeyStaticContent(
9090
) {
9191
Row(
9292
modifier = Modifier
93-
.fillMaxWidth()
94-
.clip(RoundedCornerShape(14.dp))
95-
.background(
96-
color = ElementTheme.colors.bgSubtleSecondary,
97-
shape = RoundedCornerShape(14.dp)
98-
)
99-
.clickableIfNotNull(onClick)
100-
.padding(horizontal = 16.dp, vertical = 16.dp),
93+
.fillMaxWidth()
94+
.clip(RoundedCornerShape(14.dp))
95+
.background(
96+
color = ElementTheme.colors.bgSubtleSecondary,
97+
shape = RoundedCornerShape(14.dp)
98+
)
99+
.clickableIfNotNull(onClick)
100+
.padding(horizontal = 16.dp, vertical = 16.dp),
101101
horizontalArrangement = Arrangement.spacedBy(8.dp)
102102
) {
103103
if (state.formattedRecoveryKey != null) {
@@ -115,15 +115,15 @@ private fun RecoveryKeyStaticContent(
115115
verticalAlignment = Alignment.CenterVertically,
116116
horizontalArrangement = Arrangement.Center,
117117
modifier = Modifier
118-
.fillMaxWidth()
119-
.padding(vertical = 11.dp)
118+
.fillMaxWidth()
119+
.padding(vertical = 11.dp)
120120
) {
121121
if (state.inProgress) {
122122
CircularProgressIndicator(
123123
modifier = Modifier
124-
.progressSemantics()
125-
.padding(end = 8.dp)
126-
.size(16.dp),
124+
.progressSemantics()
125+
.padding(end = 8.dp)
126+
.size(16.dp),
127127
color = ElementTheme.colors.textPrimary,
128128
strokeWidth = 1.5.dp,
129129
)
@@ -160,12 +160,12 @@ private fun RecoveryKeyFormContent(
160160
}
161161
TextField(
162162
modifier = Modifier
163-
.fillMaxWidth()
164-
.testTag(TestTags.recoveryKey)
165-
.autofill(
166-
autofillTypes = listOf(AutofillType.Password),
167-
onFill = { onChange(it) },
168-
),
163+
.fillMaxWidth()
164+
.testTag(TestTags.recoveryKey)
165+
.autofill(
166+
autofillTypes = listOf(AutofillType.Password),
167+
onFill = { onChange(it) },
168+
),
169169
minLines = 2,
170170
value = state.formattedRecoveryKey.orEmpty(),
171171
onValueChange = onChange,

0 commit comments

Comments
 (0)