Entity class refactoring
This commit is contained in:
@ -41,7 +41,7 @@ class _EntityViewPageState extends State<EntityViewPage> {
|
||||
}
|
||||
body = PageLoadingIndicator();
|
||||
} else {
|
||||
body = entity.buildEntityPageWidget(context);
|
||||
body = EntityPageLayout(entity: entity);
|
||||
}
|
||||
return new Scaffold(
|
||||
appBar: new AppBar(
|
||||
|
@ -697,7 +697,7 @@ class _MainPageState extends ReceiveShareState<MainPage> with WidgetsBindingObse
|
||||
),
|
||||
ConstrainedBox(
|
||||
constraints: BoxConstraints.tightFor(width: Sizes.entityPageMaxWidth),
|
||||
child: entity.buildEntityPageWidget(context, showClose: true),
|
||||
child: EntityPageLayout(entity: entity, showClose: true,),
|
||||
)
|
||||
],
|
||||
);
|
||||
|
Reference in New Issue
Block a user