File tree Expand file tree Collapse file tree
src/main/java/com/projectswg/launcher/resources/gui Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -115,13 +115,9 @@ class ServerListView : View() {
115115 passwordfield(LauncherData .INSTANCE .login.activeServerProperty.select { it.authenticationProperty }.select { it.passwordProperty })
116116 }
117117 field(messages[" servers.column.remoteStatus" ]) {
118- val loginName = LauncherData .INSTANCE .login.activeServerProperty.select { it.instanceInfo.loginNameProperty }
119118 val loginStatus = LauncherData .INSTANCE .login.activeServerProperty.select { it.instanceInfo.loginStatusProperty }
120- val loginNameExists = loginName.select { ReadOnlyBooleanWrapper (it.isNotEmpty()) }
121- val loginStatusWithBrackets = loginStatus.select { ReadOnlyStringWrapper (if (loginNameExists.value) " [$it ]" else it) }
122- val remoteStatus = loginName.stringBinding(loginStatusWithBrackets) { (if (loginNameExists.value) " $it " else " " ) + loginStatusWithBrackets.value }
123119
124- label(remoteStatus ) {
120+ label(loginStatus ) {
125121 maxWidth = Double .POSITIVE_INFINITY
126122 isFillWidth = true
127123
You can’t perform that action at this time.
0 commit comments