mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-30 16:29:30 +01:00
fix: Input bar not working, making app unusable
This commit is contained in:
parent
00ed0d6d25
commit
10773b4059
@ -261,11 +261,19 @@ class InputBar extends StatelessWidget {
|
|||||||
maxLines: maxLines,
|
maxLines: maxLines,
|
||||||
keyboardType: keyboardType,
|
keyboardType: keyboardType,
|
||||||
autofocus: autofocus,
|
autofocus: autofocus,
|
||||||
onSubmitted: onSubmitted,
|
onSubmitted: (text) {
|
||||||
|
// fix for library for now
|
||||||
|
// it sets the types for the callback incorrectly
|
||||||
|
onSubmitted(text);
|
||||||
|
},
|
||||||
focusNode: focusNode,
|
focusNode: focusNode,
|
||||||
controller: controller,
|
controller: controller,
|
||||||
decoration: decoration,
|
decoration: decoration,
|
||||||
onChanged: onChanged,
|
onChanged: (text) {
|
||||||
|
// fix for the library for now
|
||||||
|
// it sets the types for the callback incorrectly
|
||||||
|
onChanged(text);
|
||||||
|
},
|
||||||
textCapitalization: TextCapitalization.sentences,
|
textCapitalization: TextCapitalization.sentences,
|
||||||
),
|
),
|
||||||
suggestionsCallback: getSuggestions,
|
suggestionsCallback: getSuggestions,
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
name: fluffychat
|
name: fluffychat
|
||||||
description: Chat with your friends.
|
description: Chat with your friends.
|
||||||
publish_to: none
|
publish_to: none
|
||||||
version: 0.22.0+49
|
version: 0.22.1+50
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ">=2.6.0 <3.0.0"
|
sdk: ">=2.6.0 <3.0.0"
|
||||||
|
Loading…
Reference in New Issue
Block a user