From bf6d46a8274106150986665373bbb2127d72b83c Mon Sep 17 00:00:00 2001 From: Albin Date: Mon, 16 Oct 2023 19:10:06 +0200 Subject: [PATCH] Fix kotlin formatting --- .../net/mullvad/mullvadvpn/model/PlayPurchaseInitResult.kt | 4 +--- .../net/mullvad/mullvadvpn/model/PlayPurchaseVerifyResult.kt | 3 +-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/android/lib/model/src/main/kotlin/net/mullvad/mullvadvpn/model/PlayPurchaseInitResult.kt b/android/lib/model/src/main/kotlin/net/mullvad/mullvadvpn/model/PlayPurchaseInitResult.kt index d380a5932dec..41407474af7c 100644 --- a/android/lib/model/src/main/kotlin/net/mullvad/mullvadvpn/model/PlayPurchaseInitResult.kt +++ b/android/lib/model/src/main/kotlin/net/mullvad/mullvadvpn/model/PlayPurchaseInitResult.kt @@ -6,7 +6,5 @@ import kotlinx.parcelize.Parcelize sealed class PlayPurchaseInitResult : Parcelable { @Parcelize data class Ok(val obfuscatedId: String) : PlayPurchaseInitResult() - @Parcelize - data class Error(val error: PlayPurchaseInitError) : - PlayPurchaseInitResult() + @Parcelize data class Error(val error: PlayPurchaseInitError) : PlayPurchaseInitResult() } diff --git a/android/lib/model/src/main/kotlin/net/mullvad/mullvadvpn/model/PlayPurchaseVerifyResult.kt b/android/lib/model/src/main/kotlin/net/mullvad/mullvadvpn/model/PlayPurchaseVerifyResult.kt index 7fd3997112d6..7c5ee4d95314 100644 --- a/android/lib/model/src/main/kotlin/net/mullvad/mullvadvpn/model/PlayPurchaseVerifyResult.kt +++ b/android/lib/model/src/main/kotlin/net/mullvad/mullvadvpn/model/PlayPurchaseVerifyResult.kt @@ -6,6 +6,5 @@ import kotlinx.parcelize.Parcelize sealed class PlayPurchaseVerifyResult : Parcelable { @Parcelize data object Ok : PlayPurchaseVerifyResult() - @Parcelize - data class Error(val error: PlayPurchaseVerifyError) : PlayPurchaseVerifyResult() + @Parcelize data class Error(val error: PlayPurchaseVerifyError) : PlayPurchaseVerifyResult() }