TNelen / BlackBox

'BlackBox is a free-to-play game for friends. Available in the play store'
Mozilla Public License 2.0
3 stars 0 forks source link

mainscreen hamburger menu stays open when leaving help screen #210

Closed TNelen closed 4 years ago

TNelen commented 4 years ago

Hamberger menu should be closed when returning to homescreen, as is the case with settings and profilescreen;

TNelen commented 4 years ago

its because of the pop of context and no page route back to the homescreen. I don't get why

Navigator.push(
                       context,
                       MaterialPageRoute(
                         builder: (BuildContext context) => HomeScreen(_database),
                       ));

is causing the issue of database null, because settings and profilescreen use the same logic

TNelen commented 4 years ago

Nvm found it