Enable SquirrelMacEnableDirectContentsWrite
This commit is contained in:
parent
5d110964b9
commit
a83a85d557
3 changed files with 35 additions and 32 deletions
|
@ -120,7 +120,7 @@ import type { LoggerType } from '../ts/types/Logging';
|
||||||
|
|
||||||
const animationSettings = systemPreferences.getAnimationSettings();
|
const animationSettings = systemPreferences.getAnimationSettings();
|
||||||
|
|
||||||
if (OS.isMacOS() && !isProduction(app.getVersion())) {
|
if (OS.isMacOS()) {
|
||||||
systemPreferences.setUserDefault(
|
systemPreferences.setUserDefault(
|
||||||
'SquirrelMacEnableDirectContentsWrite',
|
'SquirrelMacEnableDirectContentsWrite',
|
||||||
'boolean',
|
'boolean',
|
||||||
|
|
|
@ -635,7 +635,9 @@ export function CompositionArea({
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="CompositionArea">
|
<div className="CompositionArea">
|
||||||
{attachmentToEdit && 'url' in attachmentToEdit && attachmentToEdit.url && (
|
{attachmentToEdit &&
|
||||||
|
'url' in attachmentToEdit &&
|
||||||
|
attachmentToEdit.url && (
|
||||||
<MediaEditor
|
<MediaEditor
|
||||||
i18n={i18n}
|
i18n={i18n}
|
||||||
imageSrc={attachmentToEdit.url}
|
imageSrc={attachmentToEdit.url}
|
||||||
|
|
|
@ -802,7 +802,8 @@ export function StoryViewer({
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
<div className="StoryViewer__actions">
|
<div className="StoryViewer__actions">
|
||||||
{sendStatus === ResolvedSendStatus.Failed && !wasManuallyRetried && (
|
{sendStatus === ResolvedSendStatus.Failed &&
|
||||||
|
!wasManuallyRetried && (
|
||||||
<button
|
<button
|
||||||
className="StoryViewer__actions__failed"
|
className="StoryViewer__actions__failed"
|
||||||
onClick={doRetryMessageSend}
|
onClick={doRetryMessageSend}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue