fix last commit

This commit is contained in:
ConfiG 2024-01-13 01:01:53 +03:00
parent 98b3a8fbf1
commit d9ff838c80
No known key found for this signature in database
GPG key ID: 44DA1983F524C11B
2 changed files with 3 additions and 3 deletions

View file

@ -116,7 +116,7 @@ struct CustomMenuLayer : Modify<CustomMenuLayer, MenuLayer> {
static bool shownTriedToLoadDlls = false; static bool shownTriedToLoadDlls = false;
if (!shownTriedToLoadDlls) { if (!shownTriedToLoadDlls) {
shownTriedToLoadDlls = true; shownTriedToLoadDlls = true;
if (Loader::get()->userTriedToLoadDLLs()) { if (LoaderImpl::get()->userTriedToLoadDLLs()) {
auto popup = FLAlertLayer::create( auto popup = FLAlertLayer::create(
"Hold up!", "Hold up!",
"It appears that you have tried to <cr>load DLLs</c> with Geode. " "It appears that you have tried to <cr>load DLLs</c> with Geode. "

View file

@ -18,10 +18,10 @@ using namespace geode::prelude;
$execute { $execute {
listenForSettingChanges("show-platform-console", +[](bool value) { listenForSettingChanges("show-platform-console", +[](bool value) {
if (value) { if (value) {
Loader::get()->openPlatformConsole(); LoaderImpl::get()->openPlatformConsole();
} }
else { else {
Loader::get()->closePlatformConsole(); LoaderImpl::get()->closePlatformConsole();
} }
}); });