mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-10 03:05:14 +00:00
fix: Input bar not working, making app unusable
This commit is contained in:
parent
2cf0afe9cf
commit
1e0e101bf0
2 changed files with 12 additions and 4 deletions
|
@ -261,11 +261,19 @@ class InputBar extends StatelessWidget {
|
|||
maxLines: maxLines,
|
||||
keyboardType: keyboardType,
|
||||
autofocus: autofocus,
|
||||
onSubmitted: onSubmitted,
|
||||
onSubmitted: (text) {
|
||||
// fix for library for now
|
||||
// it sets the types for the callback incorrectly
|
||||
onSubmitted(text);
|
||||
},
|
||||
focusNode: focusNode,
|
||||
controller: controller,
|
||||
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,
|
||||
),
|
||||
suggestionsCallback: getSuggestions,
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
name: fluffychat
|
||||
description: Chat with your friends.
|
||||
publish_to: none
|
||||
version: 0.22.0+49
|
||||
version: 0.22.1+50
|
||||
|
||||
environment:
|
||||
sdk: ">=2.6.0 <3.0.0"
|
||||
|
@ -84,4 +84,4 @@ flutter:
|
|||
- assets/
|
||||
- assets/sounds/
|
||||
- assets/js/
|
||||
- assets/js/package/
|
||||
- assets/js/package/
|
||||
|
|
Loading…
Reference in a new issue