Skip to content

Commit

Permalink
Scroll to next row upon submitting guess
Browse files Browse the repository at this point in the history
  • Loading branch information
Geoffrey Liu committed Jan 22, 2022
1 parent c3072ca commit bcf25b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions WordleWithFriends/WordGuessViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ final class WordGuessViewController: UIViewController {
gameMessagingVC.showLose(clue: gameGuessesModel.clue)
case .keepGuessing:
shareButton.isEnabled = false
guessTable.scrollToRow(at: IndexPath.Row(gameGuessesModel.numberOfGuesses), at: .bottom, animated: true)
break
}
}
Expand Down

0 comments on commit bcf25b3

Please sign in to comment.