From 2c2d05432cbb5e2fbab36f2b4090753b27bfc0f3 Mon Sep 17 00:00:00 2001 From: arichornlover <78001398+arichornlover@users.noreply.github.com> Date: Wed, 21 Feb 2024 23:15:16 -0600 Subject: [PATCH] Update ColourOptionsController2.m --- Sources/ColourOptionsController2.m | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Sources/ColourOptionsController2.m b/Sources/ColourOptionsController2.m index ea8c730..635ace7 100644 --- a/Sources/ColourOptionsController2.m +++ b/Sources/ColourOptionsController2.m @@ -12,10 +12,8 @@ self.title = @"Custom Tint 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;