From fd4dfa76d848b76baef70951d164d3861d1ff060 Mon Sep 17 00:00:00 2001 From: Ayush Maurya <49313374+RevealedSoulEven@users.noreply.github.com> Date: Mon, 15 Jan 2024 01:00:04 +0530 Subject: [PATCH] Fix profile background downloading instead of Avatar and vice versa --- .../features/impl/downloader/ProfilePictureDownloader.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/main/kotlin/me/rhunk/snapenhance/core/features/impl/downloader/ProfilePictureDownloader.kt b/core/src/main/kotlin/me/rhunk/snapenhance/core/features/impl/downloader/ProfilePictureDownloader.kt index b0c8014dc..ca845bf1e 100644 --- a/core/src/main/kotlin/me/rhunk/snapenhance/core/features/impl/downloader/ProfilePictureDownloader.kt +++ b/core/src/main/kotlin/me/rhunk/snapenhance/core/features/impl/downloader/ProfilePictureDownloader.kt @@ -36,8 +36,8 @@ class ProfilePictureDownloader : Feature("ProfilePictureDownloader", loadParams ).apply { setTitle(this@ProfilePictureDownloader.context.translation["profile_picture_downloader.title"]) val choices = mutableMapOf() - backgroundUrl?.let { choices["avatar_option"] = it } - avatarUrl?.let { choices["background_option"] = it } + backgroundUrl?.let { choices["background_option"] = it } + avatarUrl?.let { choices["avatar_option"] = it } setItems(choices.keys.map { this@ProfilePictureDownloader.context.translation["profile_picture_downloader.$it"] @@ -70,4 +70,4 @@ class ProfilePictureDownloader : Feature("ProfilePictureDownloader", loadParams } } } -} \ No newline at end of file +}