mirror of
https://gitlab.com/openlp/openlp-mobile-remote.git
synced 2024-12-22 03:42:48 +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">
|
||||
<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" />
|
||||
<method />
|
||||
<method v="2" />
|
||||
</configuration>
|
||||
</component>
|
@ -34,6 +34,7 @@ class _SettingState extends State<Settings> {
|
||||
int serverPort;
|
||||
bool useHttps;
|
||||
bool needsAuth;
|
||||
bool darkTheme;
|
||||
String userId;
|
||||
String userPassword;
|
||||
|
||||
@ -44,6 +45,7 @@ class _SettingState extends State<Settings> {
|
||||
serverPort = 4316;
|
||||
useHttps = false;
|
||||
needsAuth = false;
|
||||
darkTheme = false;
|
||||
userId = 'openlp';
|
||||
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(
|
||||
title: Text('Use HTTPS'),
|
||||
onChanged: (value) {
|
||||
|
Loading…
Reference in New Issue
Block a user