From 717f657905932a213e8676a5c5a5afc6fc2840f2 Mon Sep 17 00:00:00 2001 From: Juby210 <31005896+Juby210@users.noreply.github.com> Date: Sat, 10 Feb 2024 21:21:46 +0100 Subject: [PATCH] fix build --- .../src/main/java/io/github/juby210/acplugins/NewProfiles.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NewProfiles/src/main/java/io/github/juby210/acplugins/NewProfiles.kt b/NewProfiles/src/main/java/io/github/juby210/acplugins/NewProfiles.kt index 18fc43c..9a48f72 100644 --- a/NewProfiles/src/main/java/io/github/juby210/acplugins/NewProfiles.kt +++ b/NewProfiles/src/main/java/io/github/juby210/acplugins/NewProfiles.kt @@ -23,7 +23,7 @@ class NewProfiles : Plugin() { val profile = model.userProfile if (profile is RNUserProfile) { val themeColors = profile.guildMemberProfile?.run { themeColors ?: accentColor?.let { c -> intArrayOf(c, c) } } - ?: profile.userProfile.run { themeColors ?: accentColor?.let { c -> intArrayOf(c, c) } } ?: return@after + ?: profile.userProfile?.run { themeColors ?: accentColor?.let { c -> intArrayOf(c, c) } } ?: return@after val binding = WidgetUserSheet.`access$getBinding$p`(this) val actionsContainer = binding.D val root = actionsContainer.parent.parent.parent as NestedScrollView