Skip to content

Commit 65d797b

Browse files
committed
fix lint
1 parent 46b83d8 commit 65d797b

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

app/src/main/java/dev/dimension/flare/ui/screen/home/ChangeLogState.kt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,12 @@ internal fun changeLogPresenter(
3333
remember(BuildConfig.VERSION_NAME) {
3434
runCatching {
3535
context.getString(R.string.changelog_current, BuildConfig.VERSION_NAME)
36-
}.getOrNull()?.takeIf {
37-
it.isNotBlank() && it.isNotEmpty()
38-
}?.let {
39-
AnnotatedString.fromHtml(it)
40-
}
36+
}.getOrNull()
37+
?.takeIf {
38+
it.isNotBlank() && it.isNotEmpty()
39+
}?.let {
40+
AnnotatedString.fromHtml(it)
41+
}
4142
}
4243
return object : ChangeLogState {
4344
override val shouldShowChangeLog: UiState<Boolean> = shouldShowChangeLog

0 commit comments

Comments
 (0)