1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-26 06:49:22 +00:00

Better conditions

This commit is contained in:
Pierre HUBERT 2020-04-27 13:29:11 +02:00
parent da38ce426f
commit 2109c71dd6

View File

@ -35,8 +35,8 @@ class __InputURLDialogState extends State<SingleInputDialog> {
TextEditingController _controller; TextEditingController _controller;
bool get _isValid => bool get _isValid =>
(_controller.text.isNotEmpty || widget.canBeEmpty) && (_controller.text.isEmpty && widget.canBeEmpty) ||
widget.checkInput(_controller.text); (_controller.text.isNotEmpty && widget.checkInput(_controller.text));
@override @override
void initState() { void initState() {