mirror of
https://github.com/pd4d10/git-touch.git
synced 2026-05-22 07:11:38 -05:00
fix: replace transition
This commit is contained in:
@@ -201,11 +201,9 @@ class ThemeModel with ChangeNotifier {
|
||||
return router.navigateTo(
|
||||
context,
|
||||
url,
|
||||
transition: replace
|
||||
? TransitionType.fadeIn
|
||||
: theme == AppThemeType.cupertino
|
||||
? TransitionType.cupertino
|
||||
: TransitionType.material,
|
||||
transition: theme == AppThemeType.cupertino
|
||||
? TransitionType.cupertino
|
||||
: TransitionType.material,
|
||||
replace: replace,
|
||||
);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user