Skip to content

Commit

Permalink
[Feat] #110 - WriteViewController UI 디테일 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Heyjooo committed Jan 18, 2024
1 parent ec3d94b commit a43648d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,6 @@ extension WriteViewController {
extension WriteViewController {
private func getAPI() {
if UserDefaults.standard.integer(forKey: "memberGhost") <= -85 {
self.view.addSubviews(banView)

self.banView.snp.makeConstraints {
$0.edges.equalToSuperview()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,10 @@ extension WriteTextView {
}

func setUI() {
contentTextView.becomeFirstResponder()
limitedCircleProgressBar.alpha = 0

if UserDefaults.standard.integer(forKey: "memberGhost") <= -85 {
// 키보드 내림
} else {
if UserDefaults.standard.integer(forKey: "memberGhost") > -85 {
contentTextView.becomeFirstResponder()
NotificationCenter.default.addObserver(self, selector: #selector(keyboardWillShow(_:)), name: UIResponder.keyboardWillShowNotification, object: nil)
}
// 햅틱 피드백 생성
Expand Down

0 comments on commit a43648d

Please sign in to comment.