FlorianPix / climbing_diary

track your climbing activity
GNU General Public License v3.0
1 stars 0 forks source link

frontend: when returning from the addSpot dialog... #73

Closed FlorianPix closed 12 months ago

FlorianPix commented 1 year ago

don't use "Navigator.pop" instead go straight back to map view. The "addSpot" dialog can be used in different contexts and if these contexts have different depths than we can't know how often to call "pop".

FlorianPix commented 1 year ago

solved with named base route Navigator.popUntil(context, ModalRoute.withName('/'));