Skip to content

Commit 5138098

Browse files
committed
Fix navigation bar and telegram link
1 parent 303edbc commit 5138098

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

ForPDA/Sources/Constants/Links.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ import Foundation
1010
struct Links {
1111
static let authorPDA = "https://4pda.to/forum/index.php?showuser=3640948"
1212
static let telegramNews = "https://t.me/forpda_ios"
13-
static let telegramChat = "https://t.me/forpda_ios_discussions"
13+
static let telegramChat = "https://t.me/forpda_ios_chat"
1414
}

ForPDA/Sources/Modules/Menu/Cells/MenuAuthCell.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@ final class MenuAuthCell: UITableViewCell {
1414
private(set) var iconImageView: UIImageView = {
1515
let imageView = UIImageView()
1616
imageView.image = R.image.avatarPlaceholder()
17-
// imageView.clipsToBounds = true
18-
// imageView.layer.cornerRadius = 22
17+
imageView.clipsToBounds = true
18+
imageView.layer.cornerRadius = 22
1919
imageView.contentMode = .scaleAspectFit
20+
imageView.backgroundColor = .black
2021
return imageView
2122
}()
2223

ForPDA/Sources/Modules/Menu/MenuVC.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ final class MenuVC: PDAViewController<MenuView> {
3434
configureNavBar()
3535
}
3636

37+
override func viewWillAppear(_ animated: Bool) {
38+
super.viewWillAppear(animated)
39+
navigationController?.setNavigationBarHidden(true, animated: false)
40+
}
41+
3742
override func viewWillDisappear(_ animated: Bool) {
3843
super.viewWillDisappear(animated)
3944
navigationController?.setNavigationBarHidden(false, animated: true)

0 commit comments

Comments
 (0)