mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-04-10 19:15:13 +00:00
(iOS) Fixed an issue where the theme downloader used the incorrect theme directory
This commit is contained in:
parent
d6546e2164
commit
89051c459f
|
|
@ -178,8 +178,10 @@ GuiThemeDownloader::GuiThemeDownloader(std::function<void()> updateCallback)
|
|||
std::promise<bool>().swap(mPromise);
|
||||
mFuture = mPromise.get_future();
|
||||
|
||||
#if defined(__ANDROID__) || defined(__IOS__)
|
||||
#if defined(__ANDROID__)
|
||||
mThemeDirectory = Utils::FileSystem::getInternalAppDataDirectory() + "/themes";
|
||||
#elif defined(__IOS__)
|
||||
mThemeDirectory = Utils::FileSystem::getAppDataDirectory() + "/themes";
|
||||
#else
|
||||
const std::string defaultUserThemeDir {Utils::FileSystem::getAppDataDirectory() + "/themes"};
|
||||
const std::string userThemeDirSetting {Utils::FileSystem::expandHomePath(
|
||||
|
|
|
|||
Loading…
Reference in a new issue