Skip to content

Commit

Permalink
Don't show the Address Bar in Matrix mode (#1120)
Browse files Browse the repository at this point in the history
  • Loading branch information
dalefukami authored Oct 19, 2023
1 parent 963998b commit 958eccb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/Main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import { withContext as withAuthenticationContext } from './components/authentic
import { MessengerChat } from './components/messenger/chat';
import { DevPanelContainer } from './components/dev-panel/container';
import { FeatureFlag } from './components/feature-flag';
import { featureFlags } from './lib/feature-flags';

export interface Properties {
hasContextPanel: boolean;
Expand Down Expand Up @@ -78,9 +79,11 @@ export class Container extends React.Component<Properties> {
</div>
{!this.props.isMessengerFullScreen && (
<div className='main__header'>
<div className='main__address-bar-wrapper'>
<AddressBarContainer className='main__address-bar' />
</div>
{!featureFlags.enableMatrix && (
<div className='main__address-bar-wrapper'>
<AddressBarContainer className='main__address-bar' />
</div>
)}
<div className='main__wallet-manager-wrapper'>
<WalletManager className='main__wallet-manager' />
</div>
Expand Down
1 change: 1 addition & 0 deletions src/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ $border-color-hover: theme-zui.$color-primary-7;
top: $platform-padding;
display: flex;
align-items: center;
justify-content: flex-end;
gap: 16px;
padding: 0 16px;

Expand Down

0 comments on commit 958eccb

Please sign in to comment.