forked from eatvio/eatvio_app
feat(auth): password visibility
This commit is contained in:
@@ -85,12 +85,8 @@ class _BlogPostCreateScreenState extends State<BlogPostCreateScreen> {
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.circular(16),
|
||||
),
|
||||
backgroundColor: state.image != null || state.title!.text.isNotEmpty || state.description!.text.isNotEmpty || state.youtubeURL!.text.isNotEmpty
|
||||
? appTheme.blueA400
|
||||
: Colors.grey,
|
||||
onPressed: state.image != null || state.title!.text.isNotEmpty || state.description!.text.isNotEmpty || state.youtubeURL!.text.isNotEmpty
|
||||
? () => _submitForm(context, state.title!.text, state.description!.text, state.youtubeURL!.text)
|
||||
: null,
|
||||
backgroundColor: appTheme.blueA400,
|
||||
onPressed: () => _submitForm(context, state.title!.text, state.description!.text, state.youtubeURL!.text),
|
||||
label: Text(
|
||||
'Создать',
|
||||
style: theme.textTheme.titleSmall,
|
||||
|
||||
Reference in New Issue
Block a user