mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 23:03:51 +02:00
Remove userdialog playtime & fix screenshot search worldName
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Text.Json;
|
||||
using System.Threading.Tasks;
|
||||
using SixLabors.ImageSharp;
|
||||
using SixLabors.ImageSharp.Drawing.Processing;
|
||||
@@ -16,6 +18,12 @@ namespace VRCX
|
||||
{
|
||||
public partial class AppApi
|
||||
{
|
||||
public void PopulateImageHosts(string json)
|
||||
{
|
||||
var hosts = JsonSerializer.Deserialize<List<string>>(json);
|
||||
ImageCache.PopulateImageHosts(hosts);
|
||||
}
|
||||
|
||||
public async Task<string> GetImage(string url, string fileId, string version)
|
||||
{
|
||||
return await ImageCache.GetImage(url, fileId, version);
|
||||
|
||||
Reference in New Issue
Block a user