Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v1.3.11+21 #340

Merged
merged 3 commits into from
Jan 28, 2025
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
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,3 +168,22 @@
## [Technical]

- Improve Release testing issue template

---

# What's Changed v1.3.11+21

## [UX]

- Updated stories data
- Changed Quran font
- Redesigned Quran read pages

## [Bug Fixes]

- Fixed share plus action on iPads
- Fixed Current time show

## [Technical]

- Fixed dependency conflicts
2 changes: 1 addition & 1 deletion app/lib/l10n/arb/app_ky.arb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"totalHatims": "Жалпы\nХатым",
"totalPages": "Жалпы окулду",
"yourPages": "Сиз окудуңуз",
"reading": "Куран",
"reading": "Окулууда",
"home": "Башкы бет",
"listening": "Аудио",
"hatim": "Хатым",
Expand Down
2 changes: 1 addition & 1 deletion app/lib/modules/main/view/main_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class MainView extends StatelessWidget {
BlendMode.srcIn,
),
),
label: context.l10n.reading,
label: context.l10n.quran,
),
BottomNavigationBarItem(
key: const Key(MqKeys.home),
Expand Down
2 changes: 1 addition & 1 deletion app/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: A new Flutter project.

publish_to: "none"

version: 1.3.10+20
version: 1.3.11+21

environment:
sdk: ">=3.5.0 <4.0.0"
Expand Down
39 changes: 31 additions & 8 deletions packages/mq_app_ui/lib/src/components/mq_story_item_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ class _MqStoryItemsWidgetState extends State<MqStoryItemsWidget> {
@override
Widget build(BuildContext context) {
final colorScheme = Theme.of(context).colorScheme;
final prTextTheme = Theme.of(context).primaryTextTheme;
return StoryListView(
listHeight: widget.listHeight,
buttonWidth: widget.buttonWidth,
Expand All @@ -74,13 +73,7 @@ class _MqStoryItemsWidgetState extends State<MqStoryItemsWidget> {
),
child: Align(
alignment: Alignment.bottomCenter,
child: Text(
e.cardLabel,
textAlign: TextAlign.center,
maxLines: 2,
style: prTextTheme.bodySmall,
overflow: TextOverflow.ellipsis,
),
child: _CradLabelText(e.cardLabel),
),
borderDecoration: BoxDecoration(
shape: BoxShape.circle,
Expand Down Expand Up @@ -109,3 +102,33 @@ class _MqStoryItemsWidgetState extends State<MqStoryItemsWidget> {
);
}
}

class _CradLabelText extends StatelessWidget {
const _CradLabelText(this.label);

final String label;

@override
Widget build(BuildContext context) {
final prTextTheme = Theme.of(context).primaryTextTheme;
final firstText = label.split('\n').first;
final secondText = label.split('\n').last;
return Column(
mainAxisSize: MainAxisSize.min,
children: [
Text(
firstText.isEmpty ? label : firstText,
textAlign: TextAlign.center,
style: prTextTheme.bodySmall,
overflow: TextOverflow.ellipsis,
),
Text(
secondText,
textAlign: TextAlign.center,
style: prTextTheme.bodySmall,
overflow: TextOverflow.ellipsis,
),
],
);
}
}
Loading