Skip to content

Commit

Permalink
from is no longer required
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Ribeaud committed May 1, 2023
1 parent ac35389 commit a9616f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
15 changes: 1 addition & 14 deletions frontend/lib/main.dart
Expand Up @@ -58,20 +58,13 @@ class FedlexFormState extends State<FedlexForm> {
Padding(
padding: const EdgeInsets.fromLTRB(8.0, 16.0, 8.0, 8.0),
child: Text(
"Inkrafttretten",
"Inkrafttreten",
style: TextStyle(fontSize: 20, fontWeight: FontWeight.bold),
),
),
Padding(
padding: const EdgeInsets.symmetric(horizontal: 8.0),
child: TextFormField(
// The validator receives the text that the user has entered.
validator: (value) {
if (value == null || value.isEmpty) {
return 'Bitte ein Datum eingeben (JJJJ-MM-TT)';
}
return null;
},
controller: fromController,
decoration: const InputDecoration(
label: Text.rich(
Expand All @@ -82,12 +75,6 @@ class FedlexFormState extends State<FedlexForm> {
'Von',
),
),
WidgetSpan(
child: Text(
'*',
style: TextStyle(color: Colors.red),
),
),
],
),
),
Expand Down
2 changes: 1 addition & 1 deletion frontend/lib/results.dart
Expand Up @@ -55,7 +55,7 @@ class _ResultsPageState extends State<ResultsPage> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(title: const Text('Results')),
appBar: AppBar(title: const Text('Ergebnisse')),
body: SingleChildScrollView(
child: Container(
child: _buildPanel(),
Expand Down

0 comments on commit a9616f5

Please sign in to comment.