From ca64b813f368559cbceab67381ed172c5beecd5f Mon Sep 17 00:00:00 2001 From: Eilionoir Tunnicliff Date: Sat, 13 Aug 2022 23:17:05 -0400 Subject: [PATCH] Fix warning --- Natives/LoginViewController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Natives/LoginViewController.m b/Natives/LoginViewController.m index e19f4595..b3a1bbb0 100644 --- a/Natives/LoginViewController.m +++ b/Natives/LoginViewController.m @@ -64,7 +64,7 @@ [jbAlert addAction:ok]; } - if(!getenv("POJAV_DETECTEDJB") && [getPreference(@"jb_warn") boolValue] == YES) { + if(!getenv("POJAV_DETECTEDJB") && [getPreference(@"ram_unjb_warn") boolValue] == YES) { UIAlertController *ramalert = [UIAlertController alertControllerWithTitle:NSLocalizedString(@"login.warn.title.ram_unjb", nil) message:NSLocalizedString(@"login.warn.message.ram_unjb", nil) preferredStyle:UIAlertControllerStyleAlert]; UIAlertAction *ok = [UIAlertAction actionWithTitle:NSLocalizedString(@"OK", nil) style:UIAlertActionStyleCancel handler:nil]; [self presentViewController:ramalert animated:YES completion:nil];