From 1f40003d01ce344a207c5af7baf02f14214de60b Mon Sep 17 00:00:00 2001 From: karthik Date: Wed, 20 Nov 2024 05:47:35 +0000 Subject: [PATCH] sprint-bug-fixing (#6) Co-authored-by: Karthik Sammy <10769@intelizign.com> Reviewed-on: https://gitea.wizdomwaves.in/WizdomWaves/TedQuMobileApp/pulls/6 --- src/components/Sidebar.tsx | 8 ++++---- src/navigation/ParentTabNavigator.tsx | 2 +- src/screens/Settings.tsx | 2 +- src/screens/Student/StudentView.tsx | 2 +- src/screens/Teacher/TeacherView.tsx | 2 +- src/screens/class/classView.tsx | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsx index 3162c4e..eaedd28 100644 --- a/src/components/Sidebar.tsx +++ b/src/components/Sidebar.tsx @@ -49,25 +49,25 @@ class Sidebar extends React.Component { { name: "School", action: "School", - icon: "ios-school", + icon: "ios-business", roles: [UserRoles.schoolAdmin] }, { name: "Manage Classes", action: "Class", - icon: "ios-people", + icon: "ios-school", roles: [UserRoles.schoolAdmin] }, { name: "Manage Teachers", action: "TeacherView", - icon: "ios-person", + icon: "ios-people", roles: [UserRoles.schoolAdmin] }, { name: "Question Bank", action: "QuestionBank", - icon: "ios-person", + icon: "ios-book", roles: [UserRoles.schoolAdmin] }, { diff --git a/src/navigation/ParentTabNavigator.tsx b/src/navigation/ParentTabNavigator.tsx index 7513132..e82761f 100644 --- a/src/navigation/ParentTabNavigator.tsx +++ b/src/navigation/ParentTabNavigator.tsx @@ -127,7 +127,7 @@ const ParentTabNavigator = ({route, navigation} : any) => { - + ); diff --git a/src/screens/Settings.tsx b/src/screens/Settings.tsx index 01bd4b0..93b5a34 100644 --- a/src/screens/Settings.tsx +++ b/src/screens/Settings.tsx @@ -50,7 +50,7 @@ class Settings extends React.Component{ logout = async () => { Alert.alert( "Please Confirm", - "Are you sure to logout?", + "Are you sure you want to logout?", [ { text: "Cancel", diff --git a/src/screens/Student/StudentView.tsx b/src/screens/Student/StudentView.tsx index 84917f8..c87c46b 100644 --- a/src/screens/Student/StudentView.tsx +++ b/src/screens/Student/StudentView.tsx @@ -158,7 +158,7 @@ class StudentView extends React.Component{ Alert.alert( "Please Confirm", - `Are you sure to ${action} student ?`, + `Are you sure you want to ${action} student ?`, [ { text: "Cancel", diff --git a/src/screens/Teacher/TeacherView.tsx b/src/screens/Teacher/TeacherView.tsx index f71aa0f..748696b 100644 --- a/src/screens/Teacher/TeacherView.tsx +++ b/src/screens/Teacher/TeacherView.tsx @@ -116,7 +116,7 @@ class TeacherView extends React.Component{ } Alert.alert( "Please Confirm", - `Are you sure to ${action} teacher ?`, + `Are you sure you want to ${action} teacher ?`, [ { text: "Cancel", diff --git a/src/screens/class/classView.tsx b/src/screens/class/classView.tsx index d1f3630..78180c9 100644 --- a/src/screens/class/classView.tsx +++ b/src/screens/class/classView.tsx @@ -121,7 +121,7 @@ class ClassView extends React.Component{ Alert.alert( "Please Confirm", - `Are you sure to ${action} class ?`, + `Are you sure you want to ${action} class ?`, [ { text: "Cancel",