Skip to content

Commit 0a84c90

Browse files
committed
fix: add back refactor
1 parent 3be7492 commit 0a84c90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package/src/components/MessageInput/MessageInput.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ const MessageInputWithContext = (props: MessageInputPropsWithContext) => {
556556
<CooldownTimer seconds={cooldownRemainingSeconds} />
557557
) : (
558558
<View style={[styles.sendButtonContainer, sendButtonContainer]}>
559-
<SendButton disabled={!hasSendableData} />
559+
<SendButton disabled={!hasSendableData || (!!command && !isOnline)} />
560560
</View>
561561
)
562562
) : null}

0 commit comments

Comments
 (0)