From 764f3e54c31a57d8655bdd2007b66651c73fd39b Mon Sep 17 00:00:00 2001 From: Eilionoir Tunnicliff Date: Sun, 14 Aug 2022 00:19:01 -0400 Subject: [PATCH] fix again --- Natives/LauncherPreferencesViewController.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Natives/LauncherPreferencesViewController.m b/Natives/LauncherPreferencesViewController.m index a61dc097..1ee44217 100644 --- a/Natives/LauncherPreferencesViewController.m +++ b/Natives/LauncherPreferencesViewController.m @@ -946,8 +946,8 @@ int tempIndex; break; case TAG_UNJBRAM: { - setPreference(@"ram_unjb_enable", @(sender.isOn); - UIAlertController *enableRAMPost = [UIAlertController alertControllerWithTitle:@"RAM slider enabled" message:@"You will need to restart the launcher for changes to take effect." preferredStyle:UIAlertControllerStyleActionSheet]; + setPreference(@"ram_unjb_enable", @(sender.isOn)); + UIAlertController *enableRAMPost = [UIAlertController alertControllerWithTitle:@"RAM slider option has been changed" message:@"You will need to restart the launcher for changes to take effect." preferredStyle:UIAlertControllerStyleActionSheet]; [self setPopoverProperties:enableRAMPost.popoverPresentationController sender:(UIButton *)sender]; UIAlertAction *ok = [UIAlertAction actionWithTitle:@"OK" style:UIAlertActionStyleCancel handler:nil]; [self presentViewController:enableRAMPost animated:YES completion:nil];