From eb7351061d226438040d71f583bbe91251c939d5 Mon Sep 17 00:00:00 2001 From: Aleksandar Ilic Date: Mon, 11 Nov 2024 18:43:05 +0100 Subject: [PATCH] Fix format --- .../primal/android/premium/buying/PremiumBuyingViewModel.kt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/src/main/kotlin/net/primal/android/premium/buying/PremiumBuyingViewModel.kt b/app/src/main/kotlin/net/primal/android/premium/buying/PremiumBuyingViewModel.kt index 950a5b2dc..2bc7797e7 100644 --- a/app/src/main/kotlin/net/primal/android/premium/buying/PremiumBuyingViewModel.kt +++ b/app/src/main/kotlin/net/primal/android/premium/buying/PremiumBuyingViewModel.kt @@ -43,7 +43,11 @@ class PremiumBuyingViewModel @Inject constructor( UiState( isExtendingPremium = savedStateHandle.extendExistingPremiumName != null, primalName = savedStateHandle.extendExistingPremiumName, - stage = if (savedStateHandle.extendExistingPremiumName != null) PremiumStage.Purchase else PremiumStage.Home, + stage = if (savedStateHandle.extendExistingPremiumName != null) { + PremiumStage.Purchase + } else { + PremiumStage.Home + }, ), ) val state = _state.asStateFlow()