Skip to content
Snippets Groups Projects
Commit 41fca3e9 authored by Claudio Cambra's avatar Claudio Cambra Committed by Felix Paul Kühne
Browse files

macosx: Fix crash on placeholder constraint creation for home view placeholder...

macosx: Fix crash on placeholder constraint creation for home view placeholder caused by bad variable binding dictionary

Signed-off-by: default avatarClaudio Cambra <developer@claudiocambra.com>
parent 20240de9
No related branches found
No related tags found
1 merge request!4722macosx: Fix crash on placeholder constraint creation for home view placeholder caused by bad variable binding dictionary
Pipeline #421193 passed with stage
in 19 minutes and 56 seconds
......@@ -161,7 +161,7 @@
self.emptyLibraryView.translatesAutoresizingMaskIntoConstraints = NO;
self.libraryTargetView.subviews = @[self.emptyLibraryView];
NSDictionary *dict = NSDictionaryOfVariableBindings(self.emptyLibraryView);
NSDictionary * const dict = NSDictionaryOfVariableBindings(_emptyLibraryView);
[self.libraryTargetView addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"H:|[_emptyLibraryView(>=572.)]|" options:0 metrics:0 views:dict]];
[self.libraryTargetView addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"V:|[_emptyLibraryView(>=444.)]|" options:0 metrics:0 views:dict]];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment