mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-25 19:10:49 +02:00
Bug Fix - Settings: some of the labels push the switch controls off screen.
#1506
This commit is contained in:
@@ -1256,6 +1256,8 @@ typedef void (^blockSettingsViewController_onReadyToDestroy)();
|
||||
cell.alpha = 1.0f;
|
||||
cell.userInteractionEnabled = YES;
|
||||
|
||||
[cell layoutIfNeeded];
|
||||
|
||||
return cell;
|
||||
}
|
||||
|
||||
@@ -1268,6 +1270,9 @@ typedef void (^blockSettingsViewController_onReadyToDestroy)();
|
||||
|
||||
cell.mxkLabel.textColor = kRiotPrimaryTextColor;
|
||||
|
||||
// Force layout before reusing a cell (fix switch displayed outside the screen)
|
||||
[cell layoutIfNeeded];
|
||||
|
||||
return cell;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user