fix(regression/cs2): issue where autocomplete doesnt complete
Signed-off-by: Infi <infi@infi.sh>
This commit is contained in:
parent
a6fe65ea6b
commit
8049c29e38
|
|
@ -777,6 +777,9 @@ fun ChannelScreen(
|
|||
},
|
||||
forceSendButton = viewModel.draftAttachments.isNotEmpty(),
|
||||
canAttach = (channelPermissions has PermissionBit.UploadFiles) && viewModel.editingMessage == null,
|
||||
serverId = viewModel.channel?.server,
|
||||
channelId = channelId,
|
||||
failedValidation = viewModel.draftContent.length > 2000,
|
||||
)
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue