removed commented code
This commit is contained in:
parent
07401d0864
commit
65d15ffd4e
@ -280,66 +280,6 @@ class _ChatBubbleState extends State<ChatBubble> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
/*return SimpleDialog(
|
|
||||||
contentPadding: const EdgeInsets.all(15),
|
|
||||||
titlePadding: const EdgeInsets.only(left: 6, top: 15),
|
|
||||||
title: Row(
|
|
||||||
mainAxisAlignment: MainAxisAlignment.start,
|
|
||||||
children: [
|
|
||||||
IconButton(
|
|
||||||
onPressed: () {
|
|
||||||
Navigator.of(context).pop();
|
|
||||||
},
|
|
||||||
icon: const Icon(Icons.arrow_back),
|
|
||||||
),
|
|
||||||
const SizedBox(width: 10),
|
|
||||||
const Text('Emoji auswählen'),
|
|
||||||
],
|
|
||||||
),
|
|
||||||
children: [
|
|
||||||
Column(
|
|
||||||
children: [
|
|
||||||
emojis.EmojiPicker(
|
|
||||||
config: emojis.Config(
|
|
||||||
//height: 256,
|
|
||||||
swapCategoryAndBottomBar: true,
|
|
||||||
emojiViewConfig: emojis.EmojiViewConfig(
|
|
||||||
backgroundColor: Theme.of(context).canvasColor,
|
|
||||||
recentsLimit: 67,
|
|
||||||
emojiSizeMax: 19,
|
|
||||||
),
|
|
||||||
bottomActionBarConfig: emojis.BottomActionBarConfig(
|
|
||||||
showBackspaceButton: false,
|
|
||||||
backgroundColor: Theme.of(context).hoverColor.withAlpha(50),
|
|
||||||
buttonColor: Theme.of(context).dividerColor.withAlpha(70),
|
|
||||||
),
|
|
||||||
categoryViewConfig: emojis.CategoryViewConfig(
|
|
||||||
backgroundColor: Theme.of(context).hoverColor,
|
|
||||||
iconColorSelected: Theme.of(context).primaryColor,
|
|
||||||
indicatorColor: Theme.of(context).primaryColor,
|
|
||||||
),
|
|
||||||
searchViewConfig: emojis.SearchViewConfig(
|
|
||||||
backgroundColor: Theme.of(context).dividerColor,
|
|
||||||
buttonColor: Theme.of(context).dividerColor,
|
|
||||||
hintText: 'Suchen',
|
|
||||||
buttonIconColor: Colors.white,
|
|
||||||
),
|
|
||||||
),
|
|
||||||
onEmojiSelected: (emojis.Category? category, emojis.Emoji emoji) {
|
|
||||||
Navigator.of(context).pop();
|
|
||||||
Navigator.of(context).pop();
|
|
||||||
ReactMessage(
|
|
||||||
chatToken: widget.chatData.token,
|
|
||||||
messageId: widget.bubbleData.id,
|
|
||||||
params: ReactMessageParams(emoji.emoji),
|
|
||||||
).run().then((value) => widget.refetch(renew: true));
|
|
||||||
},
|
|
||||||
),
|
|
||||||
const SizedBox(height: 25),
|
|
||||||
],
|
|
||||||
),
|
|
||||||
],
|
|
||||||
);*/
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
style: IconButton.styleFrom(
|
style: IconButton.styleFrom(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user