mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-29 20:56:57 +02:00
MESSENGER-2762 Initial Merge
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
Copyright 2016 OpenMarket Ltd
|
||||
Copyright 2017 Vector Creations Ltd
|
||||
Copyright 2019 New Vector Ltd
|
||||
Copyright (c) 2021 BWI GmbH
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
@@ -239,7 +240,8 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
passwordContainerTopConstraintConstant = 50;
|
||||
UIDeviceOrientation deviceOrientation = [[UIDevice currentDevice] orientation];
|
||||
passwordContainerTopConstraintConstant = deviceOrientation == UIDeviceOrientationPortrait ? 70 : 50;
|
||||
}
|
||||
|
||||
self.phoneContainerTopConstraint.constant = phoneContainerTopConstraintConstant;
|
||||
|
||||
Reference in New Issue
Block a user