Skip to content

Commit

Permalink
Last review touches
Browse files Browse the repository at this point in the history
  • Loading branch information
viplmad committed Jan 13, 2024
1 parent 6ca0b26 commit fea7817
Show file tree
Hide file tree
Showing 4 changed files with 609 additions and 413 deletions.
4 changes: 3 additions & 1 deletion lib/l10n/app_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,10 @@
"percentagePlayedStartedThisYear": "{total} of Played started this year",
"percentagePlayedFinishedString": "{total} of Played Finished",
"percentageFinishedFirstFinishedThisYearString": "{total} of Finished first finished this year",
"percentagePlayedString": "{total} of Played",
"percentageFinishedString": "{total} of Finished",
"playTimeString": "{total} Play Time",
"totalPlayedString": "{total} Played",
"totalFinishedString": "{total} Finished",
"sessionsPlayedString" : "{total} {total, plural, =1{Session} other{Sessions}} Played",
"totalGamesPlayedString": "{total} {total, plural, =1{Game} other{Games}} Played",
Expand All @@ -139,7 +141,7 @@
"finishedInString": "Finished in {month}",
"newRelasesString": "New releases",
"recentString": "Recent",
"classicGamesString": "Classic games",
"classicGamesString": "Classic",
"recentDescriptionString": "Released in the last 1-{yearsMax} years",
"classicGamesDescriptionString": "Released {yearsMax} or more years ago",
"fieldUpdatedString": "Field updated",
Expand Down
4 changes: 3 additions & 1 deletion lib/l10n/app_es.arb
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,10 @@
"percentagePlayedStartedThisYear": "{total} de juegos empezados este año",
"percentagePlayedFinishedString": "{total} de juegos terminados",
"percentageFinishedFirstFinishedThisYearString": "{total} de juegos terminados por primera vez este año",
"percentagePlayedString": "{total} de los jugados",
"percentageFinishedString": "{total} de los terminados",
"playTimeString": "{total} de tiempo de juego",
"totalPlayedString": "{total} {total, plural, =1{jugado} other{jugados}}",
"totalFinishedString": "{total} {total, plural, =1{terminado} other{terminados}}",
"sessionsPlayedString" : "{total} {total, plural, =1{sesión} other{sesiones}}",
"totalGamesPlayedString": "{total} {total, plural, =1{juego} other{juegos}}",
Expand All @@ -139,7 +141,7 @@
"finishedInString": "Terminados en {month}",
"newRelasesString": "Nuevos lanzamientos",
"recentString": "Recientes",
"classicGamesString": "Juegos clásicos",
"classicGamesString": "Clásicos",
"recentDescriptionString": "Lanzados durante los últimos 1-{yearsMax} años",
"classicGamesDescriptionString": "Lanzados hace {yearsMax} años o más",
"fieldUpdatedString": "Campo actualizado",
Expand Down
6 changes: 3 additions & 3 deletions lib/ui/common/statistics_histogram.dart
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ class StatisticsStackedHistogram<N extends num> extends StatelessWidget {
selectionModels: onTap != null
? <charts.SelectionModelConfig<String>>[
charts.SelectionModelConfig<String>(
changedListener: (charts.SelectionModel<String> model) {
updatedListener: (charts.SelectionModel<String> model) {
final charts.SeriesDatum<String>? firstDatum =
model.selectedDatum.firstOrNull;
if (firstDatum != null && firstDatum.index != null) {
Expand Down Expand Up @@ -220,7 +220,7 @@ class StatisticsPieChart<N extends num> extends StatelessWidget {
seriesList,
animate: true,
defaultRenderer: charts.ArcRendererConfig<String>(
arcWidth: 90,
arcWidth: 100,
// ignore: always_specify_types
arcRendererDecorators: [
charts.ArcLabelDecorator<String>(),
Expand All @@ -229,7 +229,7 @@ class StatisticsPieChart<N extends num> extends StatelessWidget {
selectionModels: onTap != null
? <charts.SelectionModelConfig<String>>[
charts.SelectionModelConfig<String>(
changedListener: (charts.SelectionModel<String> model) {
updatedListener: (charts.SelectionModel<String> model) {
final charts.SeriesDatum<String>? firstDatum =
model.selectedDatum.firstOrNull;
if (firstDatum != null && firstDatum.index != null) {
Expand Down
Loading

0 comments on commit fea7817

Please sign in to comment.