From 57ded8568d227cbda60e65e19a84fddcfc0bc4b0 Mon Sep 17 00:00:00 2001 From: arichornlover <78001398+arichornlover@users.noreply.github.com> Date: Wed, 21 Feb 2024 23:14:25 -0600 Subject: [PATCH] Update ColourOptionsController.m --- Sources/ColourOptionsController.m | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Sources/ColourOptionsController.m b/Sources/ColourOptionsController.m index 12e4d78..261aae8 100644 --- a/Sources/ColourOptionsController.m +++ b/Sources/ColourOptionsController.m @@ -12,10 +12,8 @@ self.title = @"Theme Custom Color"; UIBarButtonItem *closeButton = [[UIBarButtonItem alloc] initWithTitle:@"Close" style:UIBarButtonItemStylePlain target:self action:@selector(close)]; - self.navigationItem.rightBarButtonItem = closeButton; - UIBarButtonItem *saveButton = [[UIBarButtonItem alloc] initWithTitle:@"Save" style:UIBarButtonItemStylePlain target:self action:@selector(save)]; - self.navigationItem.rightBarButtonItem = saveButton; + self.navigationItem.rightBarButtonItems = @[closeButton, saveButton]; UIBarButtonItem *resetButton = [[UIBarButtonItem alloc] initWithTitle:@"Reset" style:UIBarButtonItemStylePlain target:self action:@selector(reset)]; self.navigationItem.leftBarButtonItem = resetButton;