feat: New experimental design
This commit is contained in:
parent
ae33399260
commit
09519cea6e
9 changed files with 330 additions and 324 deletions
|
|
@ -78,7 +78,13 @@ class App extends StatelessWidget {
|
|||
dividerColor: Theme.of(context).dividerColor,
|
||||
columnWidth: FluffyThemes.columnWidth,
|
||||
routeBuilder: (builder, settings) =>
|
||||
Matrix.of(context).loginState == LoginState.logged
|
||||
Matrix.of(context).loginState == LoginState.logged &&
|
||||
!{
|
||||
'/',
|
||||
'/discover',
|
||||
'/contacts',
|
||||
'/settings',
|
||||
}.contains(settings.name)
|
||||
? CupertinoPageRoute(builder: builder)
|
||||
: FadeRoute(page: builder(context)),
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue