mirror of
https://github.com/wger-project/flutter.git
synced 2026-02-18 23:42:00 +01:00
Change the order of + and - signs in reps and weight
This feels more natural
This commit is contained in:
@@ -195,7 +195,12 @@ class LogPage extends StatefulWidget {
|
||||
Log _log = Log.empty();
|
||||
|
||||
LogPage(
|
||||
this._controller, this._setting, this._exercise, this._workoutPlan, this._ratioCompleted) {
|
||||
this._controller,
|
||||
this._setting,
|
||||
this._exercise,
|
||||
this._workoutPlan,
|
||||
this._ratioCompleted,
|
||||
) {
|
||||
_log.date = DateTime.now();
|
||||
_log.workoutPlan = _workoutPlan.id!;
|
||||
_log.exercise = _exercise;
|
||||
@@ -236,7 +241,7 @@ class _LogPageState extends State<LogPage> {
|
||||
return TextFormField(
|
||||
decoration: InputDecoration(
|
||||
labelText: AppLocalizations.of(context)!.repetitions,
|
||||
prefixIcon: IconButton(
|
||||
suffixIcon: IconButton(
|
||||
icon: Icon(
|
||||
Icons.add,
|
||||
color: Colors.black,
|
||||
@@ -248,7 +253,7 @@ class _LogPageState extends State<LogPage> {
|
||||
} on FormatException catch (e) {}
|
||||
},
|
||||
),
|
||||
suffixIcon: IconButton(
|
||||
prefixIcon: IconButton(
|
||||
icon: Icon(
|
||||
Icons.remove,
|
||||
color: Colors.black,
|
||||
@@ -285,7 +290,7 @@ class _LogPageState extends State<LogPage> {
|
||||
return TextFormField(
|
||||
decoration: InputDecoration(
|
||||
labelText: AppLocalizations.of(context)!.weight,
|
||||
prefixIcon: IconButton(
|
||||
suffixIcon: IconButton(
|
||||
icon: Icon(
|
||||
Icons.add,
|
||||
color: Colors.black,
|
||||
@@ -297,7 +302,7 @@ class _LogPageState extends State<LogPage> {
|
||||
} on FormatException catch (e) {}
|
||||
},
|
||||
),
|
||||
suffixIcon: IconButton(
|
||||
prefixIcon: IconButton(
|
||||
icon: Icon(
|
||||
Icons.remove,
|
||||
color: Colors.black,
|
||||
|
||||
Reference in New Issue
Block a user