From 758ccff930f7c1a6b93d5dda848a8159bde0cef8 Mon Sep 17 00:00:00 2001 From: "Pfeil, Scott Robert" Date: Mon, 5 Apr 2021 10:57:04 -0400 Subject: [PATCH] loading spinner bounds fix --- MVMCoreUI/BaseControllers/MFLoadingViewController.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/MVMCoreUI/BaseControllers/MFLoadingViewController.m b/MVMCoreUI/BaseControllers/MFLoadingViewController.m index aad2383e..56ad6d3b 100644 --- a/MVMCoreUI/BaseControllers/MFLoadingViewController.m +++ b/MVMCoreUI/BaseControllers/MFLoadingViewController.m @@ -34,8 +34,7 @@ [view addSubview:activityIndicatorView]; self.activityIndicator = activityIndicatorView; self.activityIndicator.accessibilityIdentifier = @"Loader"; - - [NSLayoutConstraint constraintPinView:activityIndicatorView heightConstraint:YES heightConstant:PaddingSix widthConstraint:YES widthConstant:PaddingSix]; + [activityIndicatorView pinWidthAndHeight]; // Sets the constraints for the activityIndicatorView [NSLayoutConstraint constraintPinSubview:activityIndicatorView pinCenterX:YES pinCenterY:YES];