src/vs/workbench/contrib/offline/browser/offline.contribution.ts/OfflineStatusBarController/enabled
class OfflineStatusBarController:	private set enabled(enabled: boolean) {
		if (enabled === !!this.disposable) {
			return;
		}

		if (enabled) {
			this.disposable = combinedDisposable(
				this.statusbarService.overrideStyle({
					priority: 100,
					foreground: STATUS_BAR_OFFLINE_FOREGROUND,
					background: STATUS_BAR_OFFLINE_BACKGROUND,
					border: STATUS_BAR_OFFLINE_BORDER,
				}),
				this.statusbarService.addEntry({
					name: 'Offline Indicator',
					text: '$(debug-disconnect) Offline',
					ariaLabel: 'Network is offline.',
					tooltip: localize('offline', "Network appears to be offline, certain features might be unavailable.")
				}, 'offline', StatusbarAlignment.LEFT, 10000)
			);
		} else {
			this.disposable!.dispose();
			this.disposable = undefined;
		}
	}