Mobile. Share Screen. Remove hardcoded colors from serverinfo
This commit is contained in:
parent
40115163b4
commit
21353a9b47
@ -207,30 +207,26 @@ class ServerInfo extends StatelessWidget {
|
|||||||
TextFormField(
|
TextFormField(
|
||||||
readOnly: true,
|
readOnly: true,
|
||||||
style: const TextStyle(
|
style: const TextStyle(
|
||||||
fontSize: 25.0,
|
fontSize: 25.0, fontWeight: FontWeight.bold),
|
||||||
fontWeight: FontWeight.bold,
|
|
||||||
color: MyTheme.accent),
|
|
||||||
controller: model.serverId,
|
controller: model.serverId,
|
||||||
decoration: InputDecoration(
|
decoration: InputDecoration(
|
||||||
icon: const Icon(Icons.perm_identity),
|
icon: const Icon(Icons.perm_identity),
|
||||||
labelText: translate("ID"),
|
labelText: translate("ID"),
|
||||||
labelStyle: const TextStyle(
|
labelStyle: const TextStyle(fontWeight: FontWeight.bold),
|
||||||
fontWeight: FontWeight.bold, color: MyTheme.accent80),
|
|
||||||
),
|
),
|
||||||
onSaved: (String? value) {},
|
onSaved: (String? value) {},
|
||||||
),
|
),
|
||||||
TextFormField(
|
TextFormField(
|
||||||
readOnly: true,
|
readOnly: true,
|
||||||
style: const TextStyle(
|
style: const TextStyle(
|
||||||
fontSize: 25.0,
|
fontSize: 25.0, fontWeight: FontWeight.bold),
|
||||||
fontWeight: FontWeight.bold,
|
|
||||||
color: MyTheme.accent),
|
|
||||||
controller: isPermanent ? emptyController : model.serverPasswd,
|
controller: isPermanent ? emptyController : model.serverPasswd,
|
||||||
decoration: InputDecoration(
|
decoration: InputDecoration(
|
||||||
icon: const Icon(Icons.lock),
|
icon: const Icon(Icons.lock),
|
||||||
labelText: translate("Password"),
|
labelText: translate("Password"),
|
||||||
labelStyle: const TextStyle(
|
labelStyle: const TextStyle(
|
||||||
fontWeight: FontWeight.bold, color: MyTheme.accent80),
|
fontWeight: FontWeight.bold,
|
||||||
|
),
|
||||||
suffix: isPermanent
|
suffix: isPermanent
|
||||||
? null
|
? null
|
||||||
: IconButton(
|
: IconButton(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user