From 5c88e7993f181e97fe72848354816585814aaf15 Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Thu, 16 May 2024 15:14:51 -0400 Subject: [PATCH] Fixes some of the missing classes due to R8 --- app/src/main/java/com/vitorpamplona/amethyst/ui/note/Icons.kt | 2 +- commons/proguard-rules.pro | 2 +- .../java/com/vitorpamplona/amethyst/commons/labels/Following.kt | 2 ++ quartz/proguard-rules.pro | 1 + 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/vitorpamplona/amethyst/ui/note/Icons.kt b/app/src/main/java/com/vitorpamplona/amethyst/ui/note/Icons.kt index 0ebd0d557..7796c6ad5 100644 --- a/app/src/main/java/com/vitorpamplona/amethyst/ui/note/Icons.kt +++ b/app/src/main/java/com/vitorpamplona/amethyst/ui/note/Icons.kt @@ -20,7 +20,6 @@ */ package com.vitorpamplona.amethyst.ui.note -import Following import androidx.compose.foundation.layout.Box import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row @@ -67,6 +66,7 @@ import com.vitorpamplona.amethyst.R import com.vitorpamplona.amethyst.commons.hashtags.Amethyst import com.vitorpamplona.amethyst.commons.hashtags.Cashu import com.vitorpamplona.amethyst.commons.hashtags.CustomHashTagIcons +import com.vitorpamplona.amethyst.commons.labels.Following import com.vitorpamplona.amethyst.ui.theme.BitcoinOrange import com.vitorpamplona.amethyst.ui.theme.Size18Modifier import com.vitorpamplona.amethyst.ui.theme.Size20Modifier diff --git a/commons/proguard-rules.pro b/commons/proguard-rules.pro index 0f4c1eeb3..0c1559397 100644 --- a/commons/proguard-rules.pro +++ b/commons/proguard-rules.pro @@ -20,4 +20,4 @@ # hide the original source file name. #-renamesourcefileattribute SourceFile --keep class com.vitorpamplona.amethyst.commons.data.** { *; } \ No newline at end of file +-keep class com.vitorpamplona.amethyst.commons.** { *; } \ No newline at end of file diff --git a/commons/src/main/java/com/vitorpamplona/amethyst/commons/labels/Following.kt b/commons/src/main/java/com/vitorpamplona/amethyst/commons/labels/Following.kt index 057dd7a68..7ded87dd0 100644 --- a/commons/src/main/java/com/vitorpamplona/amethyst/commons/labels/Following.kt +++ b/commons/src/main/java/com/vitorpamplona/amethyst/commons/labels/Following.kt @@ -18,6 +18,8 @@ * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +package com.vitorpamplona.amethyst.commons.labels + import androidx.compose.foundation.Image import androidx.compose.runtime.Composable import androidx.compose.ui.graphics.Color diff --git a/quartz/proguard-rules.pro b/quartz/proguard-rules.pro index c458d7fb7..8aec7f5b1 100644 --- a/quartz/proguard-rules.pro +++ b/quartz/proguard-rules.pro @@ -63,6 +63,7 @@ -keep class com.vitorpamplona.quartz.events.** { *; } -keep class com.vitorpamplona.quartz.signers.** { *; } -keep class com.vitorpamplona.quartz.utils.** { *; } +-keep class com.vitorpamplona.quartz.ots.** { *; } -keep class com.vitorpamplona.amethyst.model.** { *; } -keep class com.vitorpamplona.amethyst.service.** { *; } \ No newline at end of file