Skip to content

Commit

Permalink
Add out products to dashboard menu
Browse files Browse the repository at this point in the history
  • Loading branch information
7Eltantawy committed Jan 20, 2024
1 parent a1e451b commit 2da1132
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ class OnBoardingController extends GetxController {
icon: Icons.format_bold,
title: "التخلص من الخط السميك",
),
const Empty(
isImage: false,
icon: Icons.bug_report,
title: "حل مشكلة نافذة الإشعارات في بداية التطبيق",
),
Empty(
isImage: false,
icon: MdiIcons.googlePlay,
Expand Down
12 changes: 12 additions & 0 deletions hisnelmoslem/lib/app/views/dashboard/screen_menu.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import 'package:hisnelmoslem/app/modules/quran/quran_controller.dart';
import 'package:hisnelmoslem/app/modules/quran/quran_read_page.dart';
import 'package:hisnelmoslem/app/modules/settings/settings.dart';
import 'package:hisnelmoslem/app/modules/tally/tally_dashboard.dart';
import 'package:hisnelmoslem/app/shared/functions/open_url.dart';
import 'package:hisnelmoslem/app/shared/transition_animation/transition_animation.dart';
import 'package:hisnelmoslem/app/views/dashboard/dashboard_controller.dart';
import 'package:hisnelmoslem/core/utils/email_manager.dart';
Expand Down Expand Up @@ -202,6 +203,17 @@ class ScreenMenu extends StatelessWidget {
},
),
),
DrawerCard(
child: ListTile(
leading: const Icon(MdiIcons.googlePlay),
title: Text("Our Products".tr),
onTap: () {
openURL(
"https://play.google.com/store/apps/dev?id=4949997098744780639",
);
},
),
),
DrawerCard(
child: ListTile(
leading: const Icon(Icons.info),
Expand Down
1 change: 1 addition & 0 deletions hisnelmoslem/lib/core/translations/ar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -219,4 +219,5 @@ const Map<String, String> ar = {
"Official Website": "الموقع الرسمي",

"Reset all counters?.": "إعادة ضبط جميع العدادات؟",
"Our Products": "إصداراتنا",
};
1 change: 1 addition & 0 deletions hisnelmoslem/lib/core/translations/en.dart
Original file line number Diff line number Diff line change
Expand Up @@ -219,4 +219,5 @@ const Map<String, String> en = {
"Official Website": "Official Website",

"Reset all counters?.": "Reset all counters?.",
"Our Products": "Our Products",
};

0 comments on commit 2da1132

Please sign in to comment.