mirror of
				https://gitlab.com/famedly/fluffychat.git
				synced 2025-11-03 22:07:23 +01:00 
			
		
		
		
	fix: "Pick an image" button in emote settings doesn't do anything
This commit is contained in:
		
							parent
							
								
									ebc598a0ae
								
							
						
					
					
						commit
						e6be6849f7
					
				@ -220,7 +220,7 @@ class _EmoteImagePickerState extends State<_EmoteImagePicker> {
 | 
			
		||||
  Widget build(BuildContext context) {
 | 
			
		||||
    if (widget.controller.text == null || widget.controller.text.isEmpty) {
 | 
			
		||||
      return ElevatedButton(
 | 
			
		||||
        onPressed: () async {},
 | 
			
		||||
        onPressed: () => widget.onPressed(widget.controller),
 | 
			
		||||
        child: Text(L10n.of(context).pickImage),
 | 
			
		||||
      );
 | 
			
		||||
    } else {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user