commit 0994b8f36dd43db0517cfa0d2ae4dc2bfb876701
parent e9184f5244e29e1ae80967710ed4a7ecdaebf6c4
Author: Ayush Maurya <49313374+RevealedSoulEven@users.noreply.github.com>
Date: Mon, 15 Jan 2024 01:06:02 +0530
fix: public profile downloader (#578)
Diffstat:
1 file changed, 3 insertions(+), 4 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
@@ -36,8 +36,8 @@ class ProfilePictureDownloader : Feature("ProfilePictureDownloader", loadParams
).apply {
setTitle(this@ProfilePictureDownloader.context.translation["profile_picture_downloader.title"])
val choices = mutableMapOf<String, String>()
- 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
+}