Skip to content

Commit e8050de

Browse files
rgmezgmagpayo
authored andcommitted
T16270694. The Storage value in MyAccount is being empty when switching between appearance modes
(cherry picked from commit 16c24f6)
1 parent 4fd15fd commit e8050de

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

iMEGA/My Account/Account Hall/MyAccountHallTableViewCell+Additions.swift

+1-4
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ extension MyAccountHallTableViewCell {
2929
promoView?.isHidden = true
3030
}
3131

32-
if let detailText = data.detailText, detailLabel != nil {
33-
detailLabel.text = detailText
34-
}
32+
detailLabel?.text = data.detailText ?? ""
3533

3634
if let storageText = data.storageText, storageLabel != nil {
3735
storageLabel.text = storageText
@@ -87,7 +85,6 @@ extension MyAccountHallTableViewCell {
8785
}
8886

8987
if detailLabel != nil {
90-
detailLabel.text = ""
9188
detailLabel.textColor = UIColor.mnz_secondaryLabelTextColor()
9289
}
9390

0 commit comments

Comments
 (0)