Open ToxicKidz opened 3 years ago
This PR makes it so that MenuPages shows the first page on MenuPages.start if a message is supplied.
MenuPages
MenuPages.start
Fixes #16.
In MenuPages.start, if MenuPages.message is not None, it will call MenuPages.show_page(0) in order to show the first page when the menu first starts.
MenuPages.message
None
MenuPages.show_page(0)
This PR makes it so that
MenuPages
shows the first page onMenuPages.start
if a message is supplied.Relevant Issues
Fixes #16.
Solution
In
MenuPages.start
, ifMenuPages.message
is notNone
, it will callMenuPages.show_page(0)
in order to show the first page when the menu first starts.