mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-08 08:58:38 +01:00
Use SignalContext instead of SignalWindow
This commit is contained in:
@@ -42,7 +42,7 @@ export const UploadStage: React.ComponentType = () => {
|
||||
actions.setPackMeta(packMeta);
|
||||
history.push('/share');
|
||||
} catch (e) {
|
||||
window.SignalWindow.log.error('Error uploading image:', e);
|
||||
window.SignalContext.log.error('Error uploading image:', e);
|
||||
actions.addToast({
|
||||
key: 'StickerCreator--Toasts--errorUploading',
|
||||
subs: [e.message],
|
||||
|
||||
@@ -58,7 +58,7 @@ const InnerGrid = SortableContainer(
|
||||
const stickerImage = await processStickerImage(path);
|
||||
actions.addImageData(stickerImage);
|
||||
} catch (e) {
|
||||
window.SignalWindow.log.error('Error processing image:', e);
|
||||
window.SignalContext.log.error('Error processing image:', e);
|
||||
actions.removeSticker(path);
|
||||
actions.addToast({
|
||||
key:
|
||||
|
||||
Reference in New Issue
Block a user