Skip to content

Commit

Permalink
Always set ipView to last connected IP
Browse files Browse the repository at this point in the history
  • Loading branch information
drakeet committed Sep 7, 2020
1 parent bdbe803 commit f47e97a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/com/drakeet/purewriter/PureWriter.kt
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ class PureWriter : Initializable {
if (ipView.text.isNotBlank() && !PingPongDelegate.isJustDisconnected) {
ipObserver.changed(null, ipView.text, ipView.text)
} else {
ipView.text = ""
ipView.text = Settings.ip
PingPongDelegate.isJustDisconnected = false
}
return
Expand Down

0 comments on commit f47e97a

Please sign in to comment.