refactor: Avoid unnecessary bool comparison
This commit is contained in:
parent
d08364688e
commit
1cd3a91037
15 changed files with 26 additions and 25 deletions
|
|
@ -317,7 +317,7 @@ class ChatInputRow extends StatelessWidget {
|
|||
autofocus: !PlatformInfos.isMobile,
|
||||
keyboardType: TextInputType.multiline,
|
||||
textInputAction:
|
||||
AppSettings.sendOnEnter.value == true &&
|
||||
AppSettings.sendOnEnter.value &&
|
||||
PlatformInfos.isMobile
|
||||
? TextInputAction.send
|
||||
: null,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue