From f8aa3e7384c11290083a3df0115afc697a47c85b Mon Sep 17 00:00:00 2001 From: Roland Geider Date: Thu, 12 May 2022 19:19:02 +0200 Subject: [PATCH] Cleanup --- lib/widgets/user/forms.dart | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/lib/widgets/user/forms.dart b/lib/widgets/user/forms.dart index 35948bc3..5fd8e80c 100644 --- a/lib/widgets/user/forms.dart +++ b/lib/widgets/user/forms.dart @@ -25,12 +25,7 @@ import 'package:wger/providers/user.dart'; class UserProfileForm extends StatefulWidget { late Profile _profile; - - UserProfileForm() { - //_weightEntry = weightEntry ?? WeightEntry(date: DateTime.now()); - //weightController.text = _weightEntry.id == null ? '' : _weightEntry.weight.toString(); - //dateController.text = toDate(_weightEntry.date)!; - } + UserProfileForm(); @override State createState() => _UserProfileFormState();