This commit is contained in:
Hillel Coren 2020-02-24 14:07:51 +02:00
parent 23adcf4d46
commit 0c55801572
2 changed files with 9 additions and 6 deletions

View File

@ -453,14 +453,17 @@ class ReportCharts extends StatelessWidget {
final ordinalAxis = charts.OrdinalAxisSpec(
renderSpec: charts.GridlineRendererSpec(
lineStyle:
charts.LineStyleSpec(color: charts.MaterialPalette.transparent),
labelStyle: charts.TextStyleSpec(fontSize: 10, color: color)));
lineStyle:
charts.LineStyleSpec(color: charts.MaterialPalette.transparent),
labelStyle: charts.TextStyleSpec(fontSize: 10, color: color),
labelRotation: 45,
));
final dateTimeAxis = charts.DateTimeAxisSpec(
renderSpec: charts.SmallTickRendererSpec(
labelStyle: charts.TextStyleSpec(color: color),
lineStyle: charts.LineStyleSpec(color: color)));
labelStyle: charts.TextStyleSpec(color: color),
lineStyle: charts.LineStyleSpec(color: color),
));
Widget child;
switch (getReportColumnType(reportState.group, context)) {

View File

@ -218,7 +218,7 @@ class ReportsScreenVM {
.rebuild((b) => b..userCompany.settings.replace(settings));
final completer = snackBarCompleter<Null>(
context, AppLocalization.of(context).savedSettings);
if (state.authState.hasRecentlyEnteredPassword && false) {
if (state.authState.hasRecentlyEnteredPassword) {
store.dispatch(
SaveUserSettingsRequest(
completer: completer,