Skip to content

Commit

Permalink
[CORE] Bump receipt manager version to 1.1.1+57
Browse files Browse the repository at this point in the history
  • Loading branch information
monolidth committed Mar 23, 2021
1 parent 1a6ef91 commit be9e260
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
18 changes: 7 additions & 11 deletions lib/ui/stats/stats_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,12 @@ import 'package:receipt_manager/database/receipt_database.dart';
import 'package:receipt_manager/factory/banner_factory.dart';
import 'package:receipt_manager/factory/padding_factory.dart';
import 'package:receipt_manager/generated/l10n.dart';
import 'package:receipt_manager/math/math_util.dart';
import 'package:receipt_manager/stats/abstract_chart_data.dart';
import 'package:receipt_manager/stats/category.dart';
import 'package:receipt_manager/stats/category_overview.dart';
import 'package:receipt_manager/stats/chart_data_month.dart';
import 'package:receipt_manager/stats/monthly_overview.dart';
import 'package:receipt_manager/stats/weekly_chart_data.dart';
import 'package:receipt_manager/stats/weekly_overview.dart';
import 'package:receipt_manager/ui/stats/weekly_screen.dart';
import 'package:syncfusion_flutter_charts/charts.dart';

class StatsWidget extends StatefulWidget {
Expand Down Expand Up @@ -87,12 +84,11 @@ class StatsWidgetState extends State<StatsWidget> {

return SfCartesianChart(series: <ChartSeries>[
ColumnSeries<WeeklyChartData, int>(
dataSource: data,
xValueMapper: (WeeklyChartData data, _) => data.day,
yValueMapper: (WeeklyChartData data, _) => data.total,
enableTooltip: true,
width: 0.5
)
dataSource: data,
xValueMapper: (WeeklyChartData data, _) => data.day,
yValueMapper: (WeeklyChartData data, _) => data.total,
enableTooltip: true,
width: 0.5)
]);
}

Expand Down Expand Up @@ -185,14 +181,14 @@ class StatsWidgetState extends State<StatsWidget> {
mainAxisSize: MainAxisSize.max,
children: <Widget>[
Text(
S.of(context).overview,
S.of(context).overviewExpenses,
style: TextStyle(
color: Colors.black87,
fontSize: 24,
fontWeight: FontWeight.bold),
),
Text(
S.of(context).yearOverview,
S.of(context).overview,
style: TextStyle(
fontSize: 18,
color: Colors.black,
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ publish_to: '1.1.1' # 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.1.1+150
version: 1.1.1+157

environment:
sdk: ">=2.7.0 <3.0.0"
Expand Down

0 comments on commit be9e260

Please sign in to comment.