mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-01-15 11:18: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: EdgeInsetsGeometry.all(5),
|
||||
child: Text(
|
||||
(passwordCtrl.text.length <= 10 && passwordCtrl.text.isNotEmpty)
|
||||
? "Passwort muss mind. 10 Zeichen lang sein."
|
||||
: "",
|
||||
style: TextStyle(color: Colors.red),
|
||||
"Passwort muss mind. 10 Zeichen lang sein.",
|
||||
style: TextStyle(
|
||||
color: ((passwordCtrl.text.length <= 10 &&
|
||||
passwordCtrl.text.isNotEmpty))
|
||||
? Colors.red
|
||||
: Colors.transparent),
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 5),
|
||||
|
|
@ -108,11 +110,12 @@ class _TwonlyIdentityBackupViewState extends State<TwonlyIdentityBackupView> {
|
|||
Padding(
|
||||
padding: EdgeInsetsGeometry.all(5),
|
||||
child: Text(
|
||||
(passwordCtrl.text != repeatedPasswordCtrl.text &&
|
||||
"Passwörter stimmen nicht überein.",
|
||||
style: TextStyle(
|
||||
color: (passwordCtrl.text != repeatedPasswordCtrl.text &&
|
||||
repeatedPasswordCtrl.text.isNotEmpty)
|
||||
? "Passwörter stimmen nicht überein."
|
||||
: "",
|
||||
style: TextStyle(color: Colors.red),
|
||||
? Colors.red
|
||||
: Colors.transparent),
|
||||
),
|
||||
),
|
||||
],
|
||||
|
|
|
|||
Loading…
Reference in a new issue