Skip to content

Commit f2f31ee

Browse files
committed
Add braces to single-line if block in WelcomeActivity
1 parent 8728e06 commit f2f31ee

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

presentation/src/main/java/org/cryptomator/presentation/ui/activity/WelcomeActivity.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,9 @@ class WelcomeActivity : BaseActivity<ActivityWelcomeBinding>(ActivityWelcomeBind
157157
updateNavigationButtons(0)
158158
binding.btnBack.setOnClickListener {
159159
val pos = binding.welcomePager.currentItem
160-
if (pos > 0) binding.welcomePager.currentItem = pos - 1
160+
if (pos > 0) {
161+
binding.welcomePager.currentItem = pos - 1
162+
}
161163
}
162164
binding.btnNext.setOnClickListener {
163165
advanceOrComplete()

0 commit comments

Comments
 (0)