Educado-App / educado-mobile

The repository for the educado mobile education application
GNU General Public License v3.0
1 stars 3 forks source link

Handle last component #380

Closed Emilsp3 closed 4 days ago

Emilsp3 commented 4 days ago

Description

Fixing isCourseCompleted, so handleLastComponent functions as it should

Changes

The isCourseCompleted now returns true or false wheter the course is 100% completed or not. HandleLastComponent then navigates to the course screen or to the certificate screen

Related Issues

List any related issues or tickets that this pull request addresses or resolves.

Checklist

Screenshots (if applicable)

Insert screenshots or gifs that visually demonstrate the changes made in this pull request.

If mobile/frontend pull request, what version of the backend is it stable, and running on?

It is running on the dev backend

Commit id: ef2ca80

LazarShockX commented 4 days ago

You just merge it yourselves 🩵