From a89d9e7ec910ed24b37e08d1a3dc7518e702a700 Mon Sep 17 00:00:00 2001 From: Sirspam <71392316+Sirspam@users.noreply.github.com> Date: Sun, 25 Feb 2024 19:28:09 +0000 Subject: [PATCH] Added support for gif profile pictures --- Hitbloq/UI/ViewControllers/HitbloqProfileModalController.cs | 2 +- Hitbloq/manifest.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Hitbloq/UI/ViewControllers/HitbloqProfileModalController.cs b/Hitbloq/UI/ViewControllers/HitbloqProfileModalController.cs index 8ecce8a..484e38a 100644 --- a/Hitbloq/UI/ViewControllers/HitbloqProfileModalController.cs +++ b/Hitbloq/UI/ViewControllers/HitbloqProfileModalController.cs @@ -158,7 +158,7 @@ private HitbloqProfile? HitbloqProfile { if (_hitbloqProfile.ProfilePictureURL != null) { - _ = _spriteLoader.DownloadSpriteAsync(_hitbloqProfile.ProfilePictureURL, sprite => _modalProfilePic.sprite = sprite, _modalTokenSource.Token); + _modalProfilePic.SetImage(_hitbloqProfile.ProfilePictureURL); } else { diff --git a/Hitbloq/manifest.json b/Hitbloq/manifest.json index d1c6736..4958304 100644 --- a/Hitbloq/manifest.json +++ b/Hitbloq/manifest.json @@ -3,7 +3,7 @@ "id": "Hitbloq", "name": "Hitbloq", "author": "PauseChampions & DaFluffyPotato", - "version": "1.4.1", + "version": "1.4.2", "description": [ "#![Hitbloq.Description.md]", "Hitbloq offers a unique competitive experience for Beat Saber through its use of map pools and the relative ranking algorithm."