mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
1 parent
ad1c2f940f
commit
c51c202df8
2 files changed
+11
-11
No files matched your search
+6
-6
@@ -15,7 +15,7 @@ const checkForUpdatesMenuItemInjectable = getInjectable({
|
|||||||
id: "check-for-updates-menu-item",
|
id: "check-for-updates-menu-item",
|
||||||
|
|
||||||
instantiate: (di) => {
|
instantiate: (di) => {
|
||||||
const processCheckingForUpdates = di.inject(processCheckingForUpdatesInjectable,);
|
const processCheckingForUpdates = di.inject(processCheckingForUpdatesInjectable);
|
||||||
const showApplicationWindow = di.inject(showApplicationWindowInjectable);
|
const showApplicationWindow = di.inject(showApplicationWindowInjectable);
|
||||||
const updatingIsEnabled = di.inject(updatingIsEnabledInjectable);
|
const updatingIsEnabled = di.inject(updatingIsEnabledInjectable);
|
||||||
const isMac = di.inject(isMacInjectable);
|
const isMac = di.inject(isMacInjectable);
|
||||||
@@ -36,12 +36,12 @@ const checkForUpdatesMenuItemInjectable = getInjectable({
|
|||||||
await showApplicationWindow();
|
await showApplicationWindow();
|
||||||
} else {
|
} else {
|
||||||
showMessagePopup(
|
showMessagePopup(
|
||||||
`No Updates Available`,
|
"No Updates Available",
|
||||||
'You\'re all good',
|
"You're all good",
|
||||||
`You've got the latest version of Lens,\nthanks for staying on the ball.`,
|
"You've got the latest version of Lens,\nthanks for staying on the ball.",
|
||||||
{
|
{
|
||||||
textWidth: 300
|
textWidth: 300,
|
||||||
}
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
+5
-5
@@ -67,12 +67,12 @@ const checkForUpdatesTrayItemInjectable = getInjectable({
|
|||||||
await showApplicationWindow();
|
await showApplicationWindow();
|
||||||
} else {
|
} else {
|
||||||
showMessagePopup(
|
showMessagePopup(
|
||||||
`No Updates Available`,
|
"No Updates Available",
|
||||||
'You\'re all good',
|
"You're all good",
|
||||||
`You've got the latest version of Lens,\nthanks for staying on the ball.`,
|
"You've got the latest version of Lens,\nthanks for staying on the ball.",
|
||||||
{
|
{
|
||||||
textWidth: 300
|
textWidth: 300,
|
||||||
}
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in new issue
Block a user