Skip to content

Commit

Permalink
KOA-5155 fix how we open modal (#1359)
Browse files Browse the repository at this point in the history
* KOA-5155 fix how we open modal

* KOA-5155 setup views on init

* fix clang
  • Loading branch information
gert-janvercauteren committed Jun 30, 2022
1 parent 1cd77bd commit 5851835
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Backpack/Dialog/Classes/BPKDialogController.m
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,18 @@ - (instancetype)initWithTitle:(NSString *_Nullable)title
self.transitioningDelegate = self;

[self setupViews];
[self addViews];
[self setupConstraints];
}

return self;
}

- (void)viewDidLoad {
[super viewDidLoad];

[self addViews];
[self setupConstraints];
}

+ (instancetype)dialogControllerWithTitle:(NSString *_Nullable)title
message:(NSString *)message
style:(BPKDialogControllerStyle)style
Expand Down

0 comments on commit 5851835

Please sign in to comment.