Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/ui/views/about/about_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class AboutView extends StackedView<AboutViewModel> {
'Sagase',
style: TextStyle(fontSize: 24),
),
const Text('1.4.1'),
const Text('1.4.2'),
const SizedBox(height: 16),
Text.rich(
textAlign: TextAlign.left,
Expand Down
3 changes: 3 additions & 0 deletions lib/ui/views/changelog/changelog_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,9 @@ class _ChangelogHistory extends StatelessWidget {
return const SizedBox(
width: double.infinity,
child: Markdown(data: '''
# [1.4.2]
- Fixed disk space calculation during dictionary download
- Fixed crash effecting some users the first time they opened flashcards
# [1.4.1]
- Fixed text analysis processing of incomplete conjugations
- Fixed a bug with search when the query rapidly changed
Expand Down
22 changes: 7 additions & 15 deletions lib/ui/views/flashcards/flashcards_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class FlashcardsView extends HookWidget {
if (animation != null) {
void handler(status) {
if (status == AnimationStatus.completed) {
_showTutorial(context, viewModel, flipCardController);
_showTutorial(context);
animation.removeStatusListener(handler);
}
}
Expand All @@ -59,7 +59,7 @@ class FlashcardsView extends HookWidget {
const Duration(milliseconds: 150),
() {
if (context.mounted) {
_showTutorial(context, viewModel, flipCardController);
_showTutorial(context);
}
},
);
Expand Down Expand Up @@ -198,22 +198,10 @@ class FlashcardsView extends HookWidget {
);
}

void _showTutorial(
BuildContext context,
FlashcardsViewModel viewModel,
FlipCardController flipCardController,
) {
void _showTutorial(BuildContext context) {
TutorialCoachMark(
pulseEnable: false,
onSkip: () => false,
onFinish: () async {
if (viewModel.activeFlashcards.isNotEmpty) {
await Future.delayed(const Duration(milliseconds: 100));
flipCardController.flip();
await Future.delayed(const Duration(milliseconds: 350));
flipCardController.flip();
}
},
targets: [
TargetFocus(
identify: 'answersKey',
Expand All @@ -233,6 +221,10 @@ class FlashcardsView extends HookWidget {
Text.rich(
TextSpan(
children: [
TextSpan(
text:
'Tap the flashcard to reveal the meaning or long press to see more details.\n\n',
),
TextSpan(
text: 'Wrong',
style: TextStyle(
Expand Down
4 changes: 2 additions & 2 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -282,10 +282,10 @@ packages:
dependency: "direct main"
description:
name: disk_space_plus
sha256: eefdc9ffe232f03ae50e58b2fef574d2e12c805dc1d22cc5cc7cf7a4a78fdd94
sha256: "1e454599a7dcec0c0bc1ad0b7f9f563b3fffbc988175bd452c4d3c7503ed3423"
url: "https://pub.dev"
source: hosted
version: "0.2.5"
version: "0.2.6"
dots_indicator:
dependency: transitive
description:
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: A Japanese-English dictionary and learning app.

publish_to: 'none' # Remove this line if you wish to publish to pub.dev

version: 1.4.1+22
version: 1.4.2+23

environment:
sdk: '>=3.0.5 <4.0.0'
Expand Down Expand Up @@ -75,7 +75,7 @@ dependencies:
url_launcher: ^6.1.12
dio: ^5.3.3
in_app_review: ^2.0.8
disk_space_plus: ^0.2.5
disk_space_plus: ^0.2.6
share_plus: ^10.1.4
app_links: ^6.3.2
uri_to_file:
Expand Down