Skip to content

Commit be9e260

Browse files
committed
[CORE] Bump receipt manager version to 1.1.1+57
1 parent 1a6ef91 commit be9e260

File tree

2 files changed

+8
-12
lines changed

2 files changed

+8
-12
lines changed

lib/ui/stats/stats_widget.dart

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,12 @@ import 'package:receipt_manager/database/receipt_database.dart';
2323
import 'package:receipt_manager/factory/banner_factory.dart';
2424
import 'package:receipt_manager/factory/padding_factory.dart';
2525
import 'package:receipt_manager/generated/l10n.dart';
26-
import 'package:receipt_manager/math/math_util.dart';
27-
import 'package:receipt_manager/stats/abstract_chart_data.dart';
2826
import 'package:receipt_manager/stats/category.dart';
2927
import 'package:receipt_manager/stats/category_overview.dart';
3028
import 'package:receipt_manager/stats/chart_data_month.dart';
3129
import 'package:receipt_manager/stats/monthly_overview.dart';
3230
import 'package:receipt_manager/stats/weekly_chart_data.dart';
3331
import 'package:receipt_manager/stats/weekly_overview.dart';
34-
import 'package:receipt_manager/ui/stats/weekly_screen.dart';
3532
import 'package:syncfusion_flutter_charts/charts.dart';
3633

3734
class StatsWidget extends StatefulWidget {
@@ -87,12 +84,11 @@ class StatsWidgetState extends State<StatsWidget> {
8784

8885
return SfCartesianChart(series: <ChartSeries>[
8986
ColumnSeries<WeeklyChartData, int>(
90-
dataSource: data,
91-
xValueMapper: (WeeklyChartData data, _) => data.day,
92-
yValueMapper: (WeeklyChartData data, _) => data.total,
93-
enableTooltip: true,
94-
width: 0.5
95-
)
87+
dataSource: data,
88+
xValueMapper: (WeeklyChartData data, _) => data.day,
89+
yValueMapper: (WeeklyChartData data, _) => data.total,
90+
enableTooltip: true,
91+
width: 0.5)
9692
]);
9793
}
9894

@@ -185,14 +181,14 @@ class StatsWidgetState extends State<StatsWidget> {
185181
mainAxisSize: MainAxisSize.max,
186182
children: <Widget>[
187183
Text(
188-
S.of(context).overview,
184+
S.of(context).overviewExpenses,
189185
style: TextStyle(
190186
color: Colors.black87,
191187
fontSize: 24,
192188
fontWeight: FontWeight.bold),
193189
),
194190
Text(
195-
S.of(context).yearOverview,
191+
S.of(context).overview,
196192
style: TextStyle(
197193
fontSize: 18,
198194
color: Colors.black,

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ publish_to: '1.1.1' # Remove this line if you wish to publish to pub.dev
1515
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
1616
# Read more about iOS versioning at
1717
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
18-
version: 1.1.1+150
18+
version: 1.1.1+157
1919

2020
environment:
2121
sdk: ">=2.7.0 <3.0.0"

0 commit comments

Comments
 (0)