Skip to content

Commit 28b730c

Browse files
author
Sérgio Estêvão
committed
Merge pull request #5342 from wordpress-mobile/issue/5202_fix_avatar_size
Issue/5202 fix avatar size
2 parents 079f36e + 75d99f5 commit 28b730c

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

WordPress/Classes/ViewRelated/Me/GravatarPickerViewController.swift

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,13 @@ class GravatarPickerViewController : UIViewController, WPMediaPickerViewControll
9090

9191
return imageCropViewController
9292
}
93+
94+
override func preferredStatusBarStyle() -> UIStatusBarStyle {
95+
return .LightContent
96+
}
97+
98+
override func childViewControllerForStatusBarStyle() -> UIViewController? {
99+
return nil
100+
}
101+
93102
}

WordPress/Classes/ViewRelated/Me/MeHeaderView.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
#import "UIImageView+Gravatar.h"
44
#import "WordPress-Swift.h"
55

6-
const CGFloat MeHeaderViewHeight = 210;
7-
const CGFloat MeHeaderViewGravatarSize = 120.0;
6+
const CGFloat MeHeaderViewHeight = 154;
7+
const CGFloat MeHeaderViewGravatarSize = 64.0;
88
const CGFloat MeHeaderViewLabelHeight = 20.0;
99
const CGFloat MeHeaderViewVerticalMargin = 20.0;
1010
const CGFloat MeHeaderViewVerticalSpacing = 10.0;

0 commit comments

Comments
 (0)