mirror of
https://github.com/dz0ny/meshcore-sar.git
synced 2026-08-11 16:30:28 +00:00
Add retransmission handling
This commit is contained in:
@@ -849,6 +849,7 @@ class DrawingToolbar extends StatelessWidget {
|
||||
contactPublicKey: room.publicKey,
|
||||
text: message,
|
||||
messageId: messageId,
|
||||
contact: room,
|
||||
);
|
||||
debugPrint(' ✅ Sent successfully');
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -97,9 +97,7 @@ class TicTacToeMessageBubble extends StatelessWidget {
|
||||
children: [
|
||||
Text(
|
||||
'Tic-Tac-Toe · Game ${state.gameId}',
|
||||
style: Theme.of(
|
||||
context,
|
||||
).textTheme.labelMedium?.copyWith(
|
||||
style: Theme.of(context).textTheme.labelMedium?.copyWith(
|
||||
fontWeight: FontWeight.bold,
|
||||
color: titleColor,
|
||||
),
|
||||
@@ -167,7 +165,7 @@ class TicTacToeMessageBubble extends StatelessWidget {
|
||||
deliveryStatus: MessageDeliveryStatus.sending,
|
||||
recipientPublicKey: opponent.publicKey,
|
||||
);
|
||||
messagesProvider.addSentMessage(sentMessage);
|
||||
messagesProvider.addSentMessage(sentMessage, contact: opponent);
|
||||
|
||||
final sent = await connectionProvider.sendTextMessage(
|
||||
contactPublicKey: opponent.publicKey,
|
||||
|
||||
Reference in New Issue
Block a user