Correct header underline color

This commit is contained in:
Hillel Coren 2020-12-24 10:07:02 +02:00
parent 482f56eebf
commit 6afcfdae01
2 changed files with 6 additions and 1 deletions

View File

@ -894,7 +894,11 @@ class _EntityFilter extends StatelessWidget {
border: relatedTypes[i] == routeEntityType border: relatedTypes[i] == routeEntityType
? Border( ? Border(
bottom: BorderSide( bottom: BorderSide(
color: state.accentColor, color: state.prefState
.enableDarkMode ||
!state.hasAccentColor
? state.accentColor
: Colors.white,
width: 2, width: 2,
), ),
) )

View File

@ -144,6 +144,7 @@ class _PasswordConfirmationState extends State<PasswordConfirmation> {
return AlertDialog( return AlertDialog(
title: Text(localization.verifyPassword), title: Text(localization.verifyPassword),
content: TextField( content: TextField(
autofocus: true,
onChanged: (value) => _password = value, onChanged: (value) => _password = value,
obscureText: _isPasswordObscured, obscureText: _isPasswordObscured,
keyboardType: TextInputType.visiblePassword, keyboardType: TextInputType.visiblePassword,