refactored answer references and added animation

This commit is contained in:
MineTec committed 2024-05-07 10:51:46 +02:00
1 parent fc72391a75
commit 7a393bf630
5 files changed
+215 -210

No files matched your search

+2 -3
View File
@@ -6,12 +6,11 @@ import '../dataHolder.dart';
class ChatProps extends DataHolder {
String _queryToken = '';
DateTime _lastTokenSet = DateTime.now();
int? referenceMessageId;
GetChatResponse? _getChatResponse;
GetChatResponse get getChatResponse => _getChatResponse!;
int? referenceMessageId;
@override
List<ApiResponse?> properties() => [_getChatResponse];
@@ -34,7 +33,7 @@ class ChatProps extends DataHolder {
void setReferenceMessageId(int? messageId) {
referenceMessageId = messageId;
run();
notifyListeners();
}
void setQueryToken(String token) {