Cleanup
This commit is contained in:
@ -1,4 +1,3 @@
|
||||
import 'dart:developer';
|
||||
|
||||
import 'package:bubble/bubble.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
@ -63,7 +62,6 @@ class _ChatViewState extends State<ChatView> {
|
||||
List<Bubble> messages = List<Bubble>.empty(growable: true);
|
||||
|
||||
if(!data.primaryLoading()) {
|
||||
String lastActor = "";
|
||||
bool showMetadata = true;
|
||||
|
||||
data.getChatResponse.sortByTimestamp().forEach((element) {
|
||||
@ -93,7 +91,7 @@ class _ChatViewState extends State<ChatView> {
|
||||
child: Positioned(
|
||||
top: 0,
|
||||
left: 0,
|
||||
child: Text("${element.actorDisplayName}", style: TextStyle(fontWeight: FontWeight.bold, color: Theme.of(context).primaryColor)),
|
||||
child: Text(element.actorDisplayName, style: TextStyle(fontWeight: FontWeight.bold, color: Theme.of(context).primaryColor)),
|
||||
),
|
||||
),
|
||||
Padding(
|
||||
@ -114,8 +112,6 @@ class _ChatViewState extends State<ChatView> {
|
||||
],
|
||||
),
|
||||
));
|
||||
|
||||
lastActor = element.actorId;
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user