Refactor and optimize various components
- Updated RosettaFirebaseMessagingService to use IO dispatcher for blocking calls. - Enhanced AvatarRepository with LRU caching and improved coroutine handling for avatar loading. - Implemented timeout for websocket connection in UnlockScreen. - Added selection mode functionality in ChatsListScreen with haptic feedback and improved UI for chat actions. - Improved animated dots in AttachmentComponents for a smoother visual effect. - Refactored image downloading and caching logic in ChatDetailComponents to streamline the process. - Optimized SwipeBackContainer to simplify gesture handling. - Adjusted swipe back behavior in OtherProfileScreen based on image viewer state.
This commit is contained in:
12
app/proguard-rules.pro
vendored
12
app/proguard-rules.pro
vendored
@@ -36,6 +36,11 @@
|
||||
@com.google.firebase.messaging.RemoteMessage$MessageNotificationKeys <fields>;
|
||||
}
|
||||
|
||||
# ============================================================
|
||||
# SLF4J (used by BitcoinJ/other libs)
|
||||
# ============================================================
|
||||
-dontwarn org.slf4j.impl.StaticLoggerBinder
|
||||
|
||||
# ============================================================
|
||||
# Kotlin & Coroutines
|
||||
# ============================================================
|
||||
@@ -88,6 +93,13 @@
|
||||
@androidx.compose.runtime.Composable <methods>;
|
||||
}
|
||||
|
||||
# ============================================================
|
||||
# R8 VerifyError fix: prevent R8 from generating invalid
|
||||
# bytecode (instance-of on unexpected class Integer) in
|
||||
# app UI lambdas with primitive boxing/unboxing
|
||||
# ============================================================
|
||||
-keep,allowobfuscation class com.rosetta.messenger.ui.** { *; }
|
||||
|
||||
# ============================================================
|
||||
# Data Models
|
||||
# ============================================================
|
||||
|
||||
Reference in New Issue
Block a user