Skip to content

Commit

Permalink
reverted profile screen changes (#356)
Browse files Browse the repository at this point in the history
Signed-off-by: Sachin S P <sachin.sp@cyberpwn.com>
Co-authored-by: Sachin S P <sachin.sp@cyberpwn.com>
  • Loading branch information
SachinPremkumar and Sachin S P authored May 13, 2024
1 parent f3fde44 commit db79eac
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 386 deletions.
9 changes: 1 addition & 8 deletions assets/l10n/app_ar.arb
Original file line number Diff line number Diff line change
Expand Up @@ -216,12 +216,5 @@
"onboarded": "على متن الطائرة",
"sync_alert_title": "المزامنة للمتابعة!",
"sync_alert_content": "الجهاز أو المركز غير نشط. قم بتنشيطه والمزامنة للمتابعة.",
"sync_alert_text": "مزامنة",
"officer": "ضابط",
"operator": "المشغل أو العامل",
"supervisor": "مشرف",
"online": "متصل",
"offline": "غير متصل على الانترنت",
"logout_action_required": "لا يزال هناك بعض الإجراءات المطلوبة!",
"logout_warning_message": "سيؤدي النقر فوق تسجيل الخروج إلى إنهاء العملية وقد يؤدي إلى فقدان البيانات."
"sync_alert_text": "مزامنة"
}
9 changes: 1 addition & 8 deletions assets/l10n/app_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -216,12 +216,5 @@
"onboarded": "Onboarded",
"sync_alert_title": "Sync to continue!",
"sync_alert_content": "Machine or Center is not active. Activate and Sync to continue.",
"sync_alert_text": "Sync",
"officer": "Officer",
"operator": "Operator",
"supervisor": "Supervisor",
"online": "Online",
"offline": "Offline",
"logout_action_required": "There is still some action required!",
"logout_warning_message": "Clicking on logout will terminate the process and could result in data loss."
"sync_alert_text": "Sync"
}
9 changes: 1 addition & 8 deletions assets/l10n/app_fr.arb
Original file line number Diff line number Diff line change
Expand Up @@ -216,12 +216,5 @@
"onboarded": "Intégré",
"sync_alert_title": "Synchronisation pour continuer!",
"sync_alert_content": "La machine ou le centre n'est pas actif. Activez et synchronisez pour continuer.",
"sync_alert_text": "Synchroniser",
"officer": "Officier",
"operator": "Opérateur",
"supervisor": "Superviseur",
"online": "En ligne",
"offline": "Hors ligne",
"logout_action_required": "Il y a encore des actions à faire !",
"logout_warning_message": "Cliquer sur se déconnecter mettra fin au processus et pourrait entraîner une perte de données."
"sync_alert_text": "Synchroniser"
}
9 changes: 1 addition & 8 deletions assets/l10n/app_hi.arb
Original file line number Diff line number Diff line change
Expand Up @@ -216,12 +216,5 @@
"onboarded": "जहाज पर चढ़ाया गया",
"sync_alert_title": "जारी रखने के लिए सिंक करें!",
"sync_alert_content": "मशीन या केंद्र सक्रिय नहीं है। जारी रखने के लिए सक्रिय करें और सिंक करें।",
"sync_alert_text": "सिंक",
"officer": "अफ़सर",
"operator": "ऑपरेटर",
"supervisor": "पर्यवेक्षक",
"online": "ऑनलाइन",
"offline": "ऑफलाइन",
"logout_action_required": "अभी भी कुछ कार्रवाई की आवश्यकता है!",
"logout_warning_message": "लॉगआउट पर क्लिक करने से प्रक्रिया समाप्त हो जाएगी और डेटा हानि हो सकती है।"
"sync_alert_text": "सिंक"
}
9 changes: 1 addition & 8 deletions assets/l10n/app_kn.arb
Original file line number Diff line number Diff line change
Expand Up @@ -216,12 +216,5 @@
"onboarded": "ಆನ್‌ಬೋರ್ಡ್ ಮಾಡಲಾಗಿದೆ",
"sync_alert_title": "ಮುಂದುವರಿಸಲು ಸಿಂಕ್ ಮಾಡಿ!",
"sync_alert_content": "ಯಂತ್ರ ಅಥವಾ ಕೇಂದ್ರ ಸಕ್ರಿಯವಿಲ್ಲ. ಮುಂದುವರಿಸಲು ಸಕ್ರಿಯಗೊಳಿಸಿ ಮತ್ತು ಸಿಂಕ್ ಮಾಡಿ.",
"sync_alert_text": "ಸಿಂಕ್ ಮಾಡಿ",
"officer": "ಅಧಿಕಾರಿ",
"operator": "ಆಪರೇಟರ್",
"supervisor": "ಮೇಲ್ವಿಚಾರಕ",
"online": "ಆನ್ಲೈನ್",
"offline": "ಆಫ್ಲೈನ್",
"logout_action_required": "ಇನ್ನೂ ಕೆಲವು ಕ್ರಮಗಳ ಅಗತ್ಯವಿದೆ!",
"logout_warning_message": "ಲಾಗ್ಔಟ್ ಅನ್ನು ಕ್ಲಿಕ್ ಮಾಡುವುದರಿಂದ ಪ್ರಕ್ರಿಯೆಯನ್ನು ಕೊನೆಗೊಳಿಸುತ್ತದೆ ಮತ್ತು ಡೇಟಾ ನಷ್ಟಕ್ಕೆ ಕಾರಣವಾಗಬಹುದು."
"sync_alert_text": "ಸಿಂಕ್ ಮಾಡಿ"
}
9 changes: 1 addition & 8 deletions assets/l10n/app_ta.arb
Original file line number Diff line number Diff line change
Expand Up @@ -225,12 +225,5 @@
"onboarded": "ஏற்றப்பட்டது",
"sync_alert_title": "தொடர ஒத்திசை செய்க!",
"sync_alert_content": "இயந்திரம் அல்லது மையம் செயலில் இல்லை. தொடர செயல்படுத்த மற்றும் ஒத்திசை செய்க.",
"sync_alert_text": "ஒத்திசை",
"officer": "அதிகாரி",
"operator": "இயக்குபவர்",
"supervisor": "மேற்பார்வையாளர்",
"online": "நிகழ்நிலை",
"offline": "ஆஃப்லைனில்",
"logout_action_required": "இன்னும் சில நடவடிக்கை தேவை!",
"logout_warning_message": "வெளியேறு என்பதைக் கிளிக் செய்வதன் மூலம் செயல்முறை முடிவடையும் மற்றும் தரவு இழப்பு ஏற்படலாம்."
"sync_alert_text": "ஒத்திசை"
}
7 changes: 4 additions & 3 deletions lib/ui/onboard/portrait/mobile_home_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import 'package:registration_client/ui/onboard/widgets/bottom_navbar_widget.dart
import 'package:registration_client/utils/app_config.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart';

import '../../profile/profile.dart';

class MobileHomePage extends StatefulWidget {
const MobileHomePage({
Expand All @@ -35,7 +34,7 @@ class _MobileHomePageState extends State<MobileHomePage> {
int selectedTab = 2;

changeTab(int index) {
if (index == 0 || index == 2 || index == 4) {
if (index == 0 || index == 2) {
setState(() {
selectedTab = index;
});
Expand Down Expand Up @@ -73,7 +72,9 @@ class _MobileHomePageState extends State<MobileHomePage> {
const Center(
child: Text("Notifications"),
),
const ProfilePage(),
const Center(
child: Text("Profile"),
),
];

return SafeArea(
Expand Down
129 changes: 0 additions & 129 deletions lib/ui/profile/logout_alert.dart

This file was deleted.

Loading

0 comments on commit db79eac

Please sign in to comment.