How to remove "Site Home" tab in Moodle Mobile app?

108 Views Asked by At

In Moodle Academy course in creating Make your plugin mobile app compatible Greetings tab is added to the mobile app using CoreMainMenuHomeDelegate.

Is there a way to use CoreMainMenuHomeDelegate to remove Site-Home tab? How can I remove the Site-Home tab from the Moodle Mobile App?

I have read Moodle docs but I am unable to find a way to use this delegate to remove tabs from mobile app.

1

There are 1 best solutions below

0
On

Go to sitehome.ts located at moodleapp/src/core/features/sitehome/services/sitehome.ts

Find if (hasContent || hasCourseBlocks) { return true; } make return to false