remove outline style buttons
This commit is contained in:
@@ -46,7 +46,7 @@ export function ChatStatusInfo({convoState}: {convoState: ActiveConvoStates}) {
|
|||||||
label={_(msg`Block or report`)}
|
label={_(msg`Block or report`)}
|
||||||
convo={convoState.convo}
|
convo={convoState.convo}
|
||||||
profile={otherUser}
|
profile={otherUser}
|
||||||
color="negative"
|
color="negative_subtle"
|
||||||
size="small"
|
size="small"
|
||||||
currentScreen="conversation"
|
currentScreen="conversation"
|
||||||
/>
|
/>
|
||||||
@@ -70,8 +70,7 @@ export function ChatStatusInfo({convoState}: {convoState: ActiveConvoStates}) {
|
|||||||
<AcceptChatButton
|
<AcceptChatButton
|
||||||
onAcceptConvo={onAcceptChat}
|
onAcceptConvo={onAcceptChat}
|
||||||
convo={convoState.convo}
|
convo={convoState.convo}
|
||||||
color="primary"
|
color="primary_subtle"
|
||||||
variant="outline"
|
|
||||||
size="small"
|
size="small"
|
||||||
currentScreen="conversation"
|
currentScreen="conversation"
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -36,7 +36,6 @@ export function RejectMenu({
|
|||||||
convo,
|
convo,
|
||||||
profile,
|
profile,
|
||||||
size = 'tiny',
|
size = 'tiny',
|
||||||
variant = 'outline',
|
|
||||||
color = 'secondary',
|
color = 'secondary',
|
||||||
label,
|
label,
|
||||||
showDeleteConvo,
|
showDeleteConvo,
|
||||||
@@ -117,7 +116,6 @@ export function RejectMenu({
|
|||||||
label={triggerProps.accessibilityLabel}
|
label={triggerProps.accessibilityLabel}
|
||||||
style={[a.flex_1]}
|
style={[a.flex_1]}
|
||||||
color={color}
|
color={color}
|
||||||
variant={variant}
|
|
||||||
size={size}>
|
size={size}>
|
||||||
<ButtonText>
|
<ButtonText>
|
||||||
{label || (
|
{label || (
|
||||||
@@ -129,7 +127,7 @@ export function RejectMenu({
|
|||||||
</Button>
|
</Button>
|
||||||
)}
|
)}
|
||||||
</Menu.Trigger>
|
</Menu.Trigger>
|
||||||
<Menu.Outer>
|
<Menu.Outer showCancel>
|
||||||
<Menu.Group>
|
<Menu.Group>
|
||||||
{showDeleteConvo && (
|
{showDeleteConvo && (
|
||||||
<Menu.Item
|
<Menu.Item
|
||||||
@@ -181,7 +179,6 @@ export function RejectMenu({
|
|||||||
export function AcceptChatButton({
|
export function AcceptChatButton({
|
||||||
convo,
|
convo,
|
||||||
size = 'tiny',
|
size = 'tiny',
|
||||||
variant = 'solid',
|
|
||||||
color = 'secondary_inverted',
|
color = 'secondary_inverted',
|
||||||
label,
|
label,
|
||||||
currentScreen,
|
currentScreen,
|
||||||
@@ -248,7 +245,6 @@ export function AcceptChatButton({
|
|||||||
{...props}
|
{...props}
|
||||||
label={label || _(msg`Accept chat request`)}
|
label={label || _(msg`Accept chat request`)}
|
||||||
size={size}
|
size={size}
|
||||||
variant={variant}
|
|
||||||
color={color}
|
color={color}
|
||||||
style={a.flex_1}
|
style={a.flex_1}
|
||||||
onPress={onPressAccept}>
|
onPress={onPressAccept}>
|
||||||
@@ -266,7 +262,6 @@ export function AcceptChatButton({
|
|||||||
export function DeleteChatButton({
|
export function DeleteChatButton({
|
||||||
convo,
|
convo,
|
||||||
size = 'tiny',
|
size = 'tiny',
|
||||||
variant = 'outline',
|
|
||||||
color = 'secondary',
|
color = 'secondary',
|
||||||
label,
|
label,
|
||||||
currentScreen,
|
currentScreen,
|
||||||
@@ -315,7 +310,6 @@ export function DeleteChatButton({
|
|||||||
<Button
|
<Button
|
||||||
label={label || _(msg`Delete chat`)}
|
label={label || _(msg`Delete chat`)}
|
||||||
size={size}
|
size={size}
|
||||||
variant={variant}
|
|
||||||
color={color}
|
color={color}
|
||||||
style={a.flex_1}
|
style={a.flex_1}
|
||||||
onPress={onPressDelete}
|
onPress={onPressDelete}
|
||||||
|
|||||||
Reference in New Issue
Block a user