using System.IO; using System.Threading.Tasks; using VeloeAvaloniaKemonoPartyApp.Services; namespace VeloeAvaloniaKemonoPartyApp.Android.Services { internal class AndroidStorageService : IStorageService { private string _cacheFolder; public AndroidStorageService(string cacheFolder) { _cacheFolder = cacheFolder; if (!Directory.Exists(_cacheFolder)) Directory.CreateDirectory(_cacheFolder); } public async Task GetCacheFolderAsync() { return await Task.FromResult(_cacheFolder); } } }