mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-01-15 14:48:41 +00:00
fix layout glitch
This commit is contained in:
parent
214ec6b368
commit
3f6b604f50
1 changed files with 12 additions and 9 deletions
|
|
@ -82,10 +82,12 @@ class _TwonlyIdentityBackupViewState extends State<TwonlyIdentityBackupView> {
|
||||||
Padding(
|
Padding(
|
||||||
padding: EdgeInsetsGeometry.all(5),
|
padding: EdgeInsetsGeometry.all(5),
|
||||||
child: Text(
|
child: Text(
|
||||||
(passwordCtrl.text.length <= 10 && passwordCtrl.text.isNotEmpty)
|
"Passwort muss mind. 10 Zeichen lang sein.",
|
||||||
? "Passwort muss mind. 10 Zeichen lang sein."
|
style: TextStyle(
|
||||||
: "",
|
color: ((passwordCtrl.text.length <= 10 &&
|
||||||
style: TextStyle(color: Colors.red),
|
passwordCtrl.text.isNotEmpty))
|
||||||
|
? Colors.red
|
||||||
|
: Colors.transparent),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
const SizedBox(height: 5),
|
const SizedBox(height: 5),
|
||||||
|
|
@ -108,11 +110,12 @@ class _TwonlyIdentityBackupViewState extends State<TwonlyIdentityBackupView> {
|
||||||
Padding(
|
Padding(
|
||||||
padding: EdgeInsetsGeometry.all(5),
|
padding: EdgeInsetsGeometry.all(5),
|
||||||
child: Text(
|
child: Text(
|
||||||
(passwordCtrl.text != repeatedPasswordCtrl.text &&
|
"Passwörter stimmen nicht überein.",
|
||||||
|
style: TextStyle(
|
||||||
|
color: (passwordCtrl.text != repeatedPasswordCtrl.text &&
|
||||||
repeatedPasswordCtrl.text.isNotEmpty)
|
repeatedPasswordCtrl.text.isNotEmpty)
|
||||||
? "Passwörter stimmen nicht überein."
|
? Colors.red
|
||||||
: "",
|
: Colors.transparent),
|
||||||
style: TextStyle(color: Colors.red),
|
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue