mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-08 08:58:38 +01:00
Small UI fixes for left pane dialogs
This commit is contained in:
@@ -5,6 +5,8 @@ import React from 'react';
|
||||
|
||||
import { LocalizerType } from '../types/Util';
|
||||
|
||||
import { LeftPaneDialog } from './LeftPaneDialog';
|
||||
|
||||
type PropsType = {
|
||||
hasExpired: boolean;
|
||||
i18n: LocalizerType;
|
||||
@@ -19,19 +21,17 @@ export const DialogExpiredBuild = ({
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="LeftPaneDialog LeftPaneDialog--error">
|
||||
<div className="LeftPaneDialog__message">
|
||||
{i18n('expiredWarning')}{' '}
|
||||
<a
|
||||
className="LeftPaneDialog__action-text"
|
||||
href="https://signal.org/download/"
|
||||
rel="noreferrer"
|
||||
tabIndex={-1}
|
||||
target="_blank"
|
||||
>
|
||||
{i18n('upgrade')}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<LeftPaneDialog type="error">
|
||||
{i18n('expiredWarning')}{' '}
|
||||
<a
|
||||
className="LeftPaneDialog__action-text"
|
||||
href="https://signal.org/download/"
|
||||
rel="noreferrer"
|
||||
tabIndex={-1}
|
||||
target="_blank"
|
||||
>
|
||||
{i18n('upgrade')}
|
||||
</a>
|
||||
</LeftPaneDialog>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user