Swap a few things around
This commit is contained in:
parent
06d1c84028
commit
a331b8d813
|
@ -872,11 +872,11 @@ class PnLState extends State<PnLWidget> with AutomaticKeepAliveClientMixin {
|
|||
});
|
||||
},
|
||||
options: [
|
||||
FormBuilderFieldOption(child: Text(S.of(context).price), value: 0),
|
||||
FormBuilderFieldOption(
|
||||
child: Text(S.of(context).realized), value: 0),
|
||||
FormBuilderFieldOption(child: Text(S.of(context).mm), value: 1),
|
||||
FormBuilderFieldOption(child: Text(S.of(context).total), value: 2),
|
||||
FormBuilderFieldOption(child: Text(S.of(context).price), value: 3),
|
||||
child: Text(S.of(context).realized), value: 1),
|
||||
FormBuilderFieldOption(child: Text(S.of(context).mm), value: 2),
|
||||
FormBuilderFieldOption(child: Text(S.of(context).total), value: 3),
|
||||
FormBuilderFieldOption(child: Text(S.of(context).qty), value: 4),
|
||||
FormBuilderFieldOption(child: Text(S.of(context).table), value: 5),
|
||||
]),
|
||||
|
@ -906,13 +906,13 @@ class PnLChart extends StatelessWidget {
|
|||
static double _seriesData(PnL pnl, int index) {
|
||||
switch (index) {
|
||||
case 0:
|
||||
return pnl.realized;
|
||||
case 1:
|
||||
return pnl.unrealized;
|
||||
case 2:
|
||||
return pnl.realized + pnl.unrealized;
|
||||
case 3:
|
||||
return pnl.price;
|
||||
case 1:
|
||||
return pnl.realized;
|
||||
case 2:
|
||||
return pnl.unrealized;
|
||||
case 3:
|
||||
return pnl.realized + pnl.unrealized;
|
||||
case 4:
|
||||
return pnl.amount;
|
||||
}
|
||||
|
|
|
@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
|||
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
|
||||
# Read more about iOS versioning at
|
||||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
||||
version: 1.0.9+121
|
||||
version: 1.0.9+129
|
||||
|
||||
environment:
|
||||
sdk: ">=2.12.0 <3.0.0"
|
||||
|
@ -79,7 +79,7 @@ dev_dependencies:
|
|||
flutter_native_splash: ^1.2.3
|
||||
|
||||
flutter_app_name:
|
||||
name: ""
|
||||
name: "YWallet"
|
||||
|
||||
flutter_icons:
|
||||
android: true
|
||||
|
|
|
@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
|||
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
|
||||
# Read more about iOS versioning at
|
||||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
||||
version: 1.0.9+121
|
||||
version: 1.0.9+129
|
||||
|
||||
environment:
|
||||
sdk: ">=2.12.0 <3.0.0"
|
||||
|
|
Loading…
Reference in New Issue