From d4ecb99d11f8725711d9cc648e11b9b7283806fe Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Mon, 19 Aug 2019 14:20:01 +0100 Subject: [PATCH] Show the default IS as a placeholder in Settings This changes the UX for the set IS field to show the default IS as a placeholder value (as opposed to an initial value as if the user had actually entered it). Fixes https://github.com/vector-im/riot-web/issues/10528 --- src/components/views/settings/SetIdServer.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/components/views/settings/SetIdServer.js b/src/components/views/settings/SetIdServer.js index c0d103a219..8b9c3150a3 100644 --- a/src/components/views/settings/SetIdServer.js +++ b/src/components/views/settings/SetIdServer.js @@ -95,8 +95,9 @@ export default class SetIdServer extends React.Component { } this.state = { + defaultIdServer, currentClientIdServer: MatrixClientPeg.get().getIdentityServerUrl(), - idServer: defaultIdServer, + idServer: "", error: null, busy: false, disconnectBusy: false, @@ -265,7 +266,10 @@ export default class SetIdServer extends React.Component {