feat: about app
This commit is contained in:
@@ -3,7 +3,6 @@ import 'package:flutter/material.dart';
|
||||
|
||||
import '../../../../common/theme/theme.dart';
|
||||
import '../../../router/app_router.gr.dart';
|
||||
import 'divider.dart';
|
||||
import 'profile_tile.dart';
|
||||
|
||||
class ProfileAppSetting extends StatefulWidget {
|
||||
@@ -79,17 +78,6 @@ class _ProfileAppSettingState extends State<ProfileAppSetting> {
|
||||
subtitle: 'English (US)',
|
||||
onTap: () => context.router.push(LanguageRoute()),
|
||||
),
|
||||
|
||||
ProfileDivider(),
|
||||
|
||||
ProfileTile(
|
||||
icon: Icons.security_outlined,
|
||||
title: 'Security & Privacy',
|
||||
subtitle: 'Manage your security settings',
|
||||
onTap: () {
|
||||
// Navigate to security settings
|
||||
},
|
||||
),
|
||||
],
|
||||
),
|
||||
);
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
import 'package:auto_route/auto_route.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
import '../../../../common/theme/theme.dart';
|
||||
import '../../../router/app_router.gr.dart';
|
||||
import 'divider.dart';
|
||||
import 'profile_tile.dart';
|
||||
|
||||
@@ -41,31 +43,26 @@ class ProfileSupport extends StatelessWidget {
|
||||
icon: Icons.help_outline,
|
||||
title: 'Help Center',
|
||||
subtitle: 'Get help and support',
|
||||
onTap: () {
|
||||
// Navigate to help center
|
||||
},
|
||||
onTap: () => context.router.push(ComingSoonRoute()),
|
||||
),
|
||||
|
||||
ProfileDivider(),
|
||||
|
||||
ProfileTile(
|
||||
icon: Icons.feedback_outlined,
|
||||
title: 'Send Feedback',
|
||||
subtitle: 'Help us improve the app',
|
||||
onTap: () {
|
||||
// Open feedback form
|
||||
},
|
||||
),
|
||||
// ProfileDivider(),
|
||||
|
||||
// ProfileTile(
|
||||
// icon: Icons.feedback_outlined,
|
||||
// title: 'Send Feedback',
|
||||
// subtitle: 'Help us improve the app',
|
||||
// onTap: () {
|
||||
// // Open feedback form
|
||||
// },
|
||||
// ),
|
||||
ProfileDivider(),
|
||||
|
||||
ProfileTile(
|
||||
icon: Icons.info_outline,
|
||||
title: 'About',
|
||||
subtitle: 'App version and information',
|
||||
onTap: () {
|
||||
// Show about dialog
|
||||
},
|
||||
onTap: () => context.router.push(AboutAppRoute()),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user