SchabanBo / qlevar_router

Manage you project Routes. Create nested routes. Simply navigation without context to your pages. Change only one sub widget in your page when navigating to new route.
MIT License
87 stars 22 forks source link

Fix route restoration #140

Closed rounce closed 1 year ago

rounce commented 1 year ago

Restore to / did not work due to ignoreSamePath. routeInformation.location is deprecated and Uri.decodeFull threw an exception in some cases.

codecov[bot] commented 1 year ago

Codecov Report

Merging #140 (24180fb) into master (d7fdebf) will decrease coverage by 0.01%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #140      +/-   ##
==========================================
- Coverage   89.77%   89.76%   -0.01%     
==========================================
  Files          26       26              
  Lines        1164     1163       -1     
==========================================
- Hits         1045     1044       -1     
  Misses        119      119              
Files Coverage Δ
lib/src/routers/router_delegate.dart 83.82% <100.00%> (ø)
lib/src/types/route_parser.dart 100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

SchabanBo commented 1 year ago

LGTM Thanks