mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-07-16 01:56:19 +00:00
restrict_spaceMemberUser_and_change_SignUpModel
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
//ignore_for_file: constant_identifier_names
|
||||
import 'dart:ui';
|
||||
import 'package:syncrow_app/features/app_layout/bloc/home_cubit.dart';
|
||||
import 'package:syncrow_app/features/devices/model/function_model.dart';
|
||||
import 'package:syncrow_app/features/menu/bloc/privacy_policy.dart';
|
||||
import 'package:syncrow_app/features/menu/bloc/user_agreement.dart';
|
||||
@ -677,134 +678,6 @@ K? getNextItem<K, V>(Map<K, V> map, V value) {
|
||||
return null;
|
||||
}
|
||||
|
||||
List<Map<String, Object>> menuSections = [
|
||||
//Home Management
|
||||
{
|
||||
'title': 'Home Management',
|
||||
'color': ColorsManager.primaryColor,
|
||||
'buttons': [
|
||||
// {
|
||||
// 'title': 'Create a Unit',
|
||||
// 'Icon': Assets.assetsIconsMenuIconsHomeManagementIconsCreateHome,
|
||||
// 'page': const CreateUnitView()
|
||||
// },
|
||||
{
|
||||
'title': 'Join a Unit',
|
||||
'Icon': Assets.assetsIconsMenuIconsHomeManagementIconsJoinAHome,
|
||||
'page': const JoinHomeView()
|
||||
},
|
||||
{
|
||||
'title': 'Manage Your Units',
|
||||
'Icon': Assets.assetsIconsMenuIconsHomeManagementIconsManageYourHome,
|
||||
'page': const ManageHomeView()
|
||||
},
|
||||
],
|
||||
},
|
||||
//General Settings
|
||||
// {
|
||||
// 'title': 'General Settings',
|
||||
// 'color': const Color(0xFF023DFE),
|
||||
// 'buttons': [
|
||||
// {
|
||||
// 'title': 'Voice Assistant',
|
||||
// 'Icon': Assets.assetsIconsMenuIconsGeneralSettingsIconsVoiceAssistant,
|
||||
// 'page': null
|
||||
// },
|
||||
// {
|
||||
// 'title': 'Temperature unit',
|
||||
// 'Icon': Assets.assetsIconsMenuIconsGeneralSettingsIconsTemperatureUnit,
|
||||
// 'page': null
|
||||
// },
|
||||
// {
|
||||
// 'title': 'Touch tone on panel',
|
||||
// 'Icon': Assets.assetsIconsMenuIconsGeneralSettingsIconsTouchTone,
|
||||
// 'page': null
|
||||
// },
|
||||
// {
|
||||
// 'title': 'Language',
|
||||
// 'Icon': Assets.assetsIconsMenuIconsGeneralSettingsIconsLanguage,
|
||||
// 'page': null
|
||||
// },
|
||||
// {
|
||||
// 'title': 'Network Diagnosis',
|
||||
// 'Icon': Assets.assetsIconsMenuIconsGeneralSettingsIconsNetworkDiagnosis,
|
||||
// 'page': null
|
||||
// },
|
||||
// {
|
||||
// 'title': 'Clear Cache',
|
||||
// 'Icon': Assets.assetsIconsMenuIconsGeneralSettingsIconsClearCach,
|
||||
// 'page': null
|
||||
// },
|
||||
// ],
|
||||
// },
|
||||
// //Messages Center
|
||||
// {
|
||||
// 'title': 'Messages Center',
|
||||
// 'color': const Color(0xFF0088FF),
|
||||
// 'buttons': [
|
||||
// {
|
||||
// 'title': 'Alerts',
|
||||
// 'Icon': Assets.assetsIconsMenuIconsMessagesCenterIconsAlerts,
|
||||
// 'page': null
|
||||
// },
|
||||
// {
|
||||
// 'title': 'Messages',
|
||||
// 'Icon': Assets.assetsIconsMenuIconsMessagesCenterIconsMessages,
|
||||
// 'page': null
|
||||
// },
|
||||
// {
|
||||
// 'title': 'FAQs',
|
||||
// 'Icon': Assets.assetsIconsMenuIconsMessagesCenterIconsFAQs,
|
||||
// 'page': null
|
||||
// },
|
||||
// {
|
||||
// 'title': 'Help & Feedback',
|
||||
// 'Icon': Assets.assetsIconsMenuIconsMessagesCenterIconsHelpAndFeedback,
|
||||
// 'page': null
|
||||
// },
|
||||
// ],
|
||||
// },
|
||||
//Security And Privacy
|
||||
{
|
||||
'title': 'Security And Privacy',
|
||||
'color': const Color(0xFF8AB9FF),
|
||||
'buttons': [
|
||||
{
|
||||
'title': 'Security',
|
||||
'Icon': Assets.assetsIconsMenuIconsSecurityAndPrivacyIconsSecurty,
|
||||
'page': const SecurtyView()
|
||||
},
|
||||
// {
|
||||
// 'title': 'Privacy',
|
||||
// 'Icon': Assets.assetsIconsMenuIconsSecurityAndPrivacyIconsPrivacy,
|
||||
// 'page': const PrivacyView()
|
||||
// },
|
||||
],
|
||||
},
|
||||
//Legal Information
|
||||
{
|
||||
'title': 'Legal Information',
|
||||
'color': const Color(0xFF001B72),
|
||||
'buttons': [
|
||||
{
|
||||
'title': 'About',
|
||||
'Icon': Assets.assetsIconsMenuIconsLeagalInfoIconsAbout,
|
||||
'page': null
|
||||
},
|
||||
{
|
||||
'title': 'Privacy Policy',
|
||||
'Icon': Assets.assetsIconsMenuIconsLeagalInfoIconsPrivacyPolicy,
|
||||
'page': const PrivacyPolicy()
|
||||
},
|
||||
{
|
||||
'title': 'User Agreement',
|
||||
'Icon': Assets.assetsIconsMenuIconsLeagalInfoIconsUserAgreement,
|
||||
'page': const UserAgreement()
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
enum MemberRole {
|
||||
FamilyMember,
|
||||
OtherMember,
|
||||
|
Reference in New Issue
Block a user