From 7d46bbc8035163099235b77393ed05ce2bb75a54 Mon Sep 17 00:00:00 2001 From: waozi Date: Fri, 26 Apr 2024 02:25:40 +0700 Subject: [PATCH] update version --- lib/i18n/de_DE.json | 4 +++- lib/i18n/en_US.json | 4 +++- lib/i18n/es_ES.json | 4 +++- lib/i18n/id_ID.json | 4 +++- lib/i18n/it_IT.json | 4 +++- lib/screens/exercise/exercise_step2.dart | 8 ++++++++ lib/widgets/graph_view.dart | 4 ++-- lib/widgets/session_list_view.dart | 4 ++-- metadata/en-US/changelogs/29.txt | 2 ++ metadata/io.naox.InnerBreeze.metainfo.xml | 7 +++++++ pubspec.yaml | 2 +- snap/snapcraft.yaml | 2 +- 12 files changed, 38 insertions(+), 11 deletions(-) create mode 100644 metadata/en-US/changelogs/29.txt diff --git a/lib/i18n/de_DE.json b/lib/i18n/de_DE.json index b3e207c..3def0f2 100644 --- a/lib/i18n/de_DE.json +++ b/lib/i18n/de_DE.json @@ -92,5 +92,7 @@ "sessions": "Sitzungen", - "graph": "Grafik" + "graph": "Grafik", + "breath_hold": "Atem anhalten" + } diff --git a/lib/i18n/en_US.json b/lib/i18n/en_US.json index 9654ad4..3961e6d 100644 --- a/lib/i18n/en_US.json +++ b/lib/i18n/en_US.json @@ -91,6 +91,8 @@ "sessions": "Sessions", - "graph": "Graph" + "graph": "Graph", + "breath_hold": "Breath hold" + } \ No newline at end of file diff --git a/lib/i18n/es_ES.json b/lib/i18n/es_ES.json index 4a8cdbc..8f04f0f 100644 --- a/lib/i18n/es_ES.json +++ b/lib/i18n/es_ES.json @@ -93,5 +93,7 @@ "sessions": "Sesiones", - "graph": "Gráfica" + "graph": "Gráfica", + "breath_hold": "Retención de la respiración" + } diff --git a/lib/i18n/id_ID.json b/lib/i18n/id_ID.json index 84bf6e3..6af8f7c 100644 --- a/lib/i18n/id_ID.json +++ b/lib/i18n/id_ID.json @@ -90,6 +90,8 @@ "error_exporting_data": "Kesalahan dalam mengekspor data: ", "sessions": "Sesi", - "graph": "Grafik" + "graph": "Grafik", + "breath_hold": "Tahan napas" + } diff --git a/lib/i18n/it_IT.json b/lib/i18n/it_IT.json index 4c27c15..bf08d53 100644 --- a/lib/i18n/it_IT.json +++ b/lib/i18n/it_IT.json @@ -91,6 +91,8 @@ "sessions": "Sessioni", - "graph": "Grafico" + "graph": "Grafico", + "breath_hold": "Trattenimento del respiro" + } diff --git a/lib/screens/exercise/exercise_step2.dart b/lib/screens/exercise/exercise_step2.dart index 60c2671..f1b37f3 100644 --- a/lib/screens/exercise/exercise_step2.dart +++ b/lib/screens/exercise/exercise_step2.dart @@ -1,6 +1,7 @@ import 'dart:async'; import 'package:flutter/material.dart'; import 'package:inner_breeze/providers/user_provider.dart'; +import 'package:inner_breeze/shared/breeze_style.dart'; import 'package:inner_breeze/widgets/stop_session.dart'; import 'package:inner_breeze/widgets/stopwatch.dart'; import 'package:go_router/go_router.dart'; @@ -86,6 +87,13 @@ class _ExerciseStep2State extends State { body: SafeArea( child: Column( children: [ + Padding( + padding: const EdgeInsets.all(16.0), + child: Text( + 'breath_hold'.i18n(), + style: BreezeStyle.header, + ), + ), Expanded( child: Center( child: Padding( diff --git a/lib/widgets/graph_view.dart b/lib/widgets/graph_view.dart index 4040b2e..06c6885 100644 --- a/lib/widgets/graph_view.dart +++ b/lib/widgets/graph_view.dart @@ -16,10 +16,10 @@ class GraphView extends StatefulWidget { }); @override - _GraphViewState createState() => _GraphViewState(); + GraphViewState createState() => GraphViewState(); } -class _GraphViewState extends State { +class GraphViewState extends State { List _generateBarGroups() { List barGroups = []; diff --git a/lib/widgets/session_list_view.dart b/lib/widgets/session_list_view.dart index e24001a..5f22475 100644 --- a/lib/widgets/session_list_view.dart +++ b/lib/widgets/session_list_view.dart @@ -19,10 +19,10 @@ class SessionListView extends StatefulWidget { }); @override - _SessionListViewState createState() => _SessionListViewState(); + SessionListViewState createState() => SessionListViewState(); } -class _SessionListViewState extends State { +class SessionListViewState extends State { Widget _buildMonthSection( String monthYearKey, Map> sessionsByDay) { DateTime monthYear = DateFormat('yyyy-MM').parse(monthYearKey); diff --git a/metadata/en-US/changelogs/29.txt b/metadata/en-US/changelogs/29.txt new file mode 100644 index 0000000..e8a0370 --- /dev/null +++ b/metadata/en-US/changelogs/29.txt @@ -0,0 +1,2 @@ +* Improve bar chart + diff --git a/metadata/io.naox.InnerBreeze.metainfo.xml b/metadata/io.naox.InnerBreeze.metainfo.xml index 8f516c1..6cef1d1 100644 --- a/metadata/io.naox.InnerBreeze.metainfo.xml +++ b/metadata/io.naox.InnerBreeze.metainfo.xml @@ -60,6 +60,13 @@ https://raw.githubusercontent.com/naoxio/inner_breeze/main/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png contact@naox.io + + +
    +
  • Improve bar chart
  • +
+
+
    diff --git a/pubspec.yaml b/pubspec.yaml index ae2a98f..d584d45 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -3,7 +3,7 @@ description: A meditation and breathing guide app publish_to: 'none' -version: 1.3.0+28 +version: 1.3.1+29 environment: sdk: '>=2.19.4 <4.0.0' diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 5f2245a..7c3cbb2 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -1,7 +1,7 @@ name: inner-breeze adopt-info: inner-breeze -version: '1.3.0' +version: '1.3.1' license: MIT grade: stable base: core22