mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-19 17:35:18 +00:00
fix: "Pick an image" button in emote settings doesn't do anything
This commit is contained in:
parent
988a691eeb
commit
3b268dc53d
1 changed files with 1 additions and 1 deletions
|
@ -220,7 +220,7 @@ class _EmoteImagePickerState extends State<_EmoteImagePicker> {
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
if (widget.controller.text == null || widget.controller.text.isEmpty) {
|
if (widget.controller.text == null || widget.controller.text.isEmpty) {
|
||||||
return ElevatedButton(
|
return ElevatedButton(
|
||||||
onPressed: () async {},
|
onPressed: () => widget.onPressed(widget.controller),
|
||||||
child: Text(L10n.of(context).pickImage),
|
child: Text(L10n.of(context).pickImage),
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue