fluffychat merge

This commit is contained in:
ggurdin 2026-02-05 11:43:51 -05:00
commit a119425079
No known key found for this signature in database
GPG key ID: A01CB41737CBB478
2 changed files with 6 additions and 4 deletions

View file

@ -91,8 +91,10 @@ class InputBar extends StatelessWidget {
// }
// }
// Pangea#
final emojiMatch =
RegExp(r'(?:\s|^):(?:([-\w]+)~)?([-\w]+)$').firstMatch(searchText);
final emojiMatch = RegExp(
r'(?:\s|^):(?:([\p{L}\p{N}_-]+)~)?([\p{L}\p{N}_-]+)$',
unicode: true,
).firstMatch(searchText);
if (emojiMatch != null) {
final packSearch = emojiMatch[1];
final emoteSearch = emojiMatch[2]!.toLowerCase();

View file

@ -81,9 +81,9 @@ class _StartPollBottomSheetState extends State<StartPollBottomSheet> {
children: [
TextField(
controller: _bodyController,
minLines: 1,
minLines: 2,
maxLines: 4,
maxLength: 512,
maxLength: 1024,
onChanged: _updateCanCreate,
decoration: InputDecoration(
hintText: L10n.of(context).pollQuestion,