change to prepare Outbound Text Functions.
This commit is contained in:
1 parent
ddcda4ba5a
commit
8ef8a38495
2 files changed
+8
-4
No files matched your search
@@ -14,7 +14,6 @@ import 'package:latlong2/latlong.dart';
|
||||
import '../connector/meshcore_connector.dart';
|
||||
import '../connector/meshcore_protocol.dart';
|
||||
import '../helpers/reaction_helper.dart';
|
||||
import '../helpers/smaz.dart';
|
||||
import '../widgets/message_status_icon.dart';
|
||||
import '../helpers/chat_scroll_controller.dart';
|
||||
import '../helpers/gif_helper.dart';
|
||||
@@ -578,7 +577,10 @@ class _ChatScreenState extends State<ChatScreen> {
|
||||
connector.isContactSmazEnabled(
|
||||
widget.contact.publicKeyHex,
|
||||
)
|
||||
? Smaz.encodeIfSmaller
|
||||
? (text) => connector.prepareContactOutboundText(
|
||||
widget.contact,
|
||||
text,
|
||||
)
|
||||
: null,
|
||||
decoration: InputDecoration(
|
||||
hintText: context.l10n.chat_typeMessage,
|
||||
|
||||
Reference in new issue
Block a user