move padding for message list inside image decoration background
This commit is contained in:
parent
cf4011779f
commit
f88ec4f34e
|
@ -259,7 +259,7 @@ class _MessageViewState extends State<MessageView> {
|
|||
actions: appBarButtons,
|
||||
),
|
||||
body: Padding(
|
||||
padding: EdgeInsets.fromLTRB(8.0, 8.0, 8.0, 182.0),
|
||||
padding: EdgeInsets.fromLTRB(8.0, 8.0, 8.0, 164.0),
|
||||
child: MessageList(
|
||||
scrollListener,
|
||||
)),
|
||||
|
|
|
@ -123,7 +123,10 @@ class _MessageListState extends State<MessageList> {
|
|||
image: AssetImage("assets/core/negative_heart_512px.png"),
|
||||
colorFilter: ColorFilter.mode(Provider.of<Settings>(context).theme.hilightElementColor.withOpacity(0.15), BlendMode.srcIn))),
|
||||
// Don't load messages for syncing server...
|
||||
child: loadMessages
|
||||
child:
|
||||
Padding(
|
||||
padding: EdgeInsets.fromLTRB(0.0, 0.0, 0.0, 20.0),
|
||||
child: loadMessages
|
||||
? ScrollablePositionedList.builder(
|
||||
itemPositionsListener: widget.scrollListener,
|
||||
itemScrollController: Provider.of<ContactInfoState>(outerContext).messageScrollController,
|
||||
|
@ -152,7 +155,7 @@ class _MessageListState extends State<MessageList> {
|
|||
);
|
||||
},
|
||||
)
|
||||
: null))
|
||||
: null)))
|
||||
])));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue