fix: 消息页面夜间模式异常 issues #309 | 包含撤回消息时显示异常
This commit is contained in:
@ -93,6 +93,9 @@ class _WhisperDetailPageState extends State<WhisperDetailPage> {
|
||||
future: _futureBuilderFuture,
|
||||
builder: (context, snapshot) {
|
||||
if (snapshot.connectionState == ConnectionState.done) {
|
||||
if (snapshot.data == null) {
|
||||
return const SizedBox();
|
||||
}
|
||||
Map data = snapshot.data as Map;
|
||||
if (data['status']) {
|
||||
List messageList = _whisperDetailController.messageList;
|
||||
@ -138,7 +141,6 @@ class _WhisperDetailPageState extends State<WhisperDetailPage> {
|
||||
bottom: MediaQuery.of(context).padding.bottom,
|
||||
),
|
||||
decoration: BoxDecoration(
|
||||
color: Colors.white,
|
||||
border: Border(
|
||||
top: BorderSide(
|
||||
width: 4,
|
||||
|
||||
Reference in New Issue
Block a user