aboutsummaryrefslogtreecommitdiff
path: root/src/ui/ThemeManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/ThemeManager.cpp')
-rw-r--r--src/ui/ThemeManager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/ThemeManager.cpp b/src/ui/ThemeManager.cpp
index 0f4daeb7..14da3ef8 100644
--- a/src/ui/ThemeManager.cpp
+++ b/src/ui/ThemeManager.cpp
@@ -20,7 +20,7 @@ ThemeManager::ThemeManager() {
}
PrependThemeResourceDictionary(
- ThemeResourceDictionary::FromFile(String::FromStdPath(resourses_file)));
+ ThemeResourceDictionary::FromFile(resourses_file));
}
ThemeManager::~ThemeManager() {}
@@ -44,7 +44,7 @@ void ThemeManager::PrependThemeResourceDictionary(
}
std::string ThemeManager::GetResourceString(std::string_view key) {
- return GetResource<String>(key).ToUtf8();
+ return GetResource<std::string>(key);
}
std::shared_ptr<platform::graphics::IBrush> ThemeManager::GetResourceBrush(