Settings texts update

This commit is contained in:
Yegor Vialov 2018-09-24 10:27:08 +03:00 committed by GitHub
parent 23d3d1839f
commit c0e0059487
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,8 +57,6 @@ class _ConnectionSettingsPageState extends State<ConnectionSettingsPage> {
});
eventBus.fire(SettingsChangedEvent(true));
}),
// Here we take the value from the MyHomePage object that was created by
// the App.build method, and use it to set our appbar title.
title: new Text(widget.title),
),
body: ListView(
@ -66,7 +64,7 @@ class _ConnectionSettingsPageState extends State<ConnectionSettingsPage> {
children: <Widget>[
new Row(
children: [
Text("HTTPS"),
Text("Use ssl (HTTPS)"),
Switch(
value: (_socketProtocol == "wss"),
onChanged: (value) {
@ -132,4 +130,4 @@ class _ConnectionSettingsPageState extends State<ConnectionSettingsPage> {
),
);
}
}
}