Explorar o código

fix: add missing neverShowAgain [skip ci]

Baptiste Augrain %!s(int64=2) %!d(string=hai) anos
pai
achega
033a6bdf30
Modificáronse 1 ficheiros con 7 adicións e 1 borrados
  1. 7 1
      patches/fix-eol-banner.patch

+ 7 - 1
patches/fix-eol-banner.patch

@@ -48,7 +48,7 @@ index b120c94..1bb2b88 100644
 +
 +
  	toJSON(): object {
  	toJSON(): object {
 diff --git a/src/vs/workbench/electron-sandbox/window.ts b/src/vs/workbench/electron-sandbox/window.ts
 diff --git a/src/vs/workbench/electron-sandbox/window.ts b/src/vs/workbench/electron-sandbox/window.ts
-index cf6af9d..1344cb5 100644
+index cf6af9d..108ce8f 100644
 --- a/src/vs/workbench/electron-sandbox/window.ts
 --- a/src/vs/workbench/electron-sandbox/window.ts
 +++ b/src/vs/workbench/electron-sandbox/window.ts
 +++ b/src/vs/workbench/electron-sandbox/window.ts
 @@ -725,3 +725,4 @@ export class NativeWindow extends Disposable {
 @@ -725,3 +725,4 @@ export class NativeWindow extends Disposable {
@@ -57,6 +57,12 @@ index cf6af9d..1344cb5 100644
 +					icon: Codicon.warning,
 +					icon: Codicon.warning,
 +					neverShowAgain: { id: 'windowseol', isSecondary: true, scope: NeverShowAgainScope.APPLICATION }
 +					neverShowAgain: { id: 'windowseol', isSecondary: true, scope: NeverShowAgainScope.APPLICATION }
  				});
  				});
+@@ -764,3 +765,4 @@ export class NativeWindow extends Disposable {
+ 					actions,
+-					icon: Codicon.warning
++					icon: Codicon.warning,
++					neverShowAgain: { id: 'macoseol', isSecondary: true, scope: NeverShowAgainScope.APPLICATION }
+ 				});
 diff --git a/src/vs/workbench/services/banner/browser/bannerService.ts b/src/vs/workbench/services/banner/browser/bannerService.ts
 diff --git a/src/vs/workbench/services/banner/browser/bannerService.ts b/src/vs/workbench/services/banner/browser/bannerService.ts
 index 639b1b2..70e8847 100644
 index 639b1b2..70e8847 100644
 --- a/src/vs/workbench/services/banner/browser/bannerService.ts
 --- a/src/vs/workbench/services/banner/browser/bannerService.ts