Package and Activity Status Update

This commit is contained in:
SirBlob committed 2025-12-06 23:38:07 +00:00
1 parent 6461d7ceb5
commit 59d39c9939
4 files changed
+23 -8

No files matched your search

+3
View File
@@ -15,6 +15,7 @@ export type Activity = {
application_id?: string | null;
assets?: { large_image?: string | null; small_image?: string | null };
emoji?: { id?: string; animated?: boolean } | null;
app_icon?: string | null;
};
export type Data = {
@@ -114,6 +115,8 @@ export async function fetchUserImages(data: Data, settings: ProfileSettings) {
ImageSize.ACTIVITY_LARGE,
settings.theme || null
);
else if (activity?.app_icon)
assetLargeImage = await encodeBase64(activity.app_icon, ImageSize.ACTIVITY_LARGE);
if (activity?.assets?.small_image)
assetSmallImage = await encodeBase64(