Skip to content

Commit

Permalink
Fixed bug where balance couldn't display when stored as int #44
Browse files Browse the repository at this point in the history
  • Loading branch information
johnjjsung committed Dec 8, 2020
1 parent 92442d9 commit 08fbdc5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/StockPage.dart
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class HomePage extends StatelessWidget {
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
Text("Name: " + values["name"]),
Text("Balance: \$" + values["balance"]),
Text("Balance: \$" + values["balance"].toString()),
],
),
);
Expand Down
2 changes: 1 addition & 1 deletion lib/buySell.dart
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class _BuySell extends State<MyStatefulWidget> {
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
Text("Name: " + values["name"]),
Text("Balance: \$" + values["balance"]),
Text("Balance: \$" + values["balance"].toString()),
],
),
);
Expand Down

0 comments on commit 08fbdc5

Please sign in to comment.