mirror of
https://gitlab.com/openlp/openlp-mobile-remote.git
synced 2024-12-22 11:52:49 +00:00
first changes
This commit is contained in:
parent
c34358b559
commit
0a209e1d9e
4
.idea/runConfigurations/main_dart.xml
generated
4
.idea/runConfigurations/main_dart.xml
generated
@ -1,6 +1,6 @@
|
|||||||
<component name="ProjectRunConfigurationManager">
|
<component name="ProjectRunConfigurationManager">
|
||||||
<configuration default="false" name="main.dart" type="FlutterRunConfigurationType" factoryName="Flutter">
|
<configuration default="false" name="main.dart" type="FlutterRunConfigurationType" factoryName="Flutter" singleton="false">
|
||||||
<option name="filePath" value="$PROJECT_DIR$/lib/main.dart" />
|
<option name="filePath" value="$PROJECT_DIR$/lib/main.dart" />
|
||||||
<method />
|
<method v="2" />
|
||||||
</configuration>
|
</configuration>
|
||||||
</component>
|
</component>
|
@ -34,6 +34,7 @@ class _SettingState extends State<Settings> {
|
|||||||
int serverPort;
|
int serverPort;
|
||||||
bool useHttps;
|
bool useHttps;
|
||||||
bool needsAuth;
|
bool needsAuth;
|
||||||
|
bool darkTheme;
|
||||||
String userId;
|
String userId;
|
||||||
String userPassword;
|
String userPassword;
|
||||||
|
|
||||||
@ -44,6 +45,7 @@ class _SettingState extends State<Settings> {
|
|||||||
serverPort = 4316;
|
serverPort = 4316;
|
||||||
useHttps = false;
|
useHttps = false;
|
||||||
needsAuth = false;
|
needsAuth = false;
|
||||||
|
darkTheme = false;
|
||||||
userId = 'openlp';
|
userId = 'openlp';
|
||||||
userPassword = 'password';
|
userPassword = 'password';
|
||||||
}
|
}
|
||||||
@ -76,6 +78,15 @@ class _SettingState extends State<Settings> {
|
|||||||
);
|
);
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
CheckboxListTile(
|
||||||
|
title: Text('Use Dark theme'),
|
||||||
|
onChanged: (value) {
|
||||||
|
setState(() {
|
||||||
|
darkTheme = value;
|
||||||
|
});
|
||||||
|
},
|
||||||
|
value: useHttps,
|
||||||
|
),
|
||||||
CheckboxListTile(
|
CheckboxListTile(
|
||||||
title: Text('Use HTTPS'),
|
title: Text('Use HTTPS'),
|
||||||
onChanged: (value) {
|
onChanged: (value) {
|
||||||
|
Loading…
Reference in New Issue
Block a user