Skip to content

Commit

Permalink
updates for ios
Browse files Browse the repository at this point in the history
  • Loading branch information
VisShon committed Aug 8, 2023
1 parent 5e0daf1 commit 2313295
Show file tree
Hide file tree
Showing 5 changed files with 1,444 additions and 1,514 deletions.
2 changes: 1 addition & 1 deletion App/Components/Dashboard/CourseAdd.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function CourseAdd({type, instructor, student, course}) {
avoidKeyboard>
<SafeAreaView>
<View
style={{borderRadius:10,borderWidth:5,borderColor:'#FFFFFF',height:Dimensions.window.height/3}}>
style={{borderRadius:10,borderWidth:5,borderColor:'#FFFFFF',height:Dimensions.window.height/2}}>
{
type==="faculty"?
<FormAddCourse toggle={toggleModal} instructor = {instructor} />:
Expand Down
13 changes: 10 additions & 3 deletions App/Components/Quiz/QuizFacultyPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -287,15 +287,22 @@ const QuizFacultyPage = (props) => {
const QuizMailer = useCallback(async () => {
console.log('triggering mail for passCode:' + state.course.passCode)
Toast.show('Sending Email...');
const { data } = firebase.functions().httpsCallable('mailingSystem')({passCode:state.course.passCode, type:"Quiz"})
.catch(function(error) {console.log('There has been a problem with your mail operation: ' + error);})
const data = firebase
.functions()
.httpsCallable('mailingSystem')({
passCode:state.course.passCode,
type:"Quiz"
})
.catch(function(error) {
console.log('There has been a problem with your mail operation: ' + error);
})
await dbUpdateEmailStatus().then(() => {
setState(prevState => ({
...prevState,
emailStatus: false,
}))
})
console.log("Email Status Updated")
console.log("Email Status Updated",data)
},[])


Expand Down
55 changes: 0 additions & 55 deletions App/android/google-services.json

This file was deleted.

Loading

0 comments on commit 2313295

Please sign in to comment.