mirror of
https://github.com/vector-im/element-call.git
synced 2026-05-01 09:54:37 +00:00
Improve logic for settings button show/hide.
Fix button shown in appbar
This commit is contained in:
@@ -88,7 +88,7 @@ export const AppBar: FC<Props> = ({ children }) => {
|
||||
{title}
|
||||
</Heading>
|
||||
)}
|
||||
<RightNav>{secondaryButton ?? "x"}</RightNav>
|
||||
<RightNav>{secondaryButton}</RightNav>
|
||||
</Header>
|
||||
</div>
|
||||
<AppBarContext value={context}>{children}</AppBarContext>
|
||||
|
||||
Reference in New Issue
Block a user