mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-20 00:18:45 +01:00
Ability to click megaphone in narrow sidebar to expand sidebar
This commit is contained in:
@@ -74,7 +74,7 @@ import { getPreferredBadgeSelector } from '../selectors/badges.preload.js';
|
||||
import { SmartProfileEditor } from './ProfileEditor.preload.js';
|
||||
import { useNavActions } from '../ducks/nav.std.js';
|
||||
import { NavTab } from '../../types/Nav.std.js';
|
||||
import { SmartToastManager } from './ToastManager.preload.js';
|
||||
import { renderToastManagerWithoutMegaphone } from './ToastManager.preload.js';
|
||||
import { useToastActions } from '../ducks/toast.preload.js';
|
||||
import { DataReader, DataWriter } from '../../sql/Client.preload.js';
|
||||
import { deleteAllMyStories } from '../../util/deleteAllMyStories.preload.js';
|
||||
@@ -157,12 +157,6 @@ function renderProfileEditor(options: {
|
||||
return <SmartProfileEditor contentsRef={options.contentsRef} />;
|
||||
}
|
||||
|
||||
function renderToastManager(props: {
|
||||
containerWidthBreakpoint: WidthBreakpoint;
|
||||
}): React.JSX.Element {
|
||||
return <SmartToastManager disableMegaphone {...props} />;
|
||||
}
|
||||
|
||||
function renderDonationsPane({
|
||||
contentsRef,
|
||||
settingsLocation,
|
||||
@@ -937,7 +931,7 @@ export function SmartPreferences(): React.JSX.Element | null {
|
||||
renderNotificationProfilesCreateFlow
|
||||
}
|
||||
renderProfileEditor={renderProfileEditor}
|
||||
renderToastManager={renderToastManager}
|
||||
renderToastManager={renderToastManagerWithoutMegaphone}
|
||||
renderUpdateDialog={renderUpdateDialog}
|
||||
renderPreferencesChatFoldersPage={renderPreferencesChatFoldersPage}
|
||||
renderPreferencesEditChatFolderPage={
|
||||
|
||||
Reference in New Issue
Block a user