From b88d1dda207ca23d633d3f0a8974f0ee91d5581c Mon Sep 17 00:00:00 2001 From: Camila Ayres Date: Mon, 3 Jun 2024 21:32:16 +0200 Subject: [PATCH] Do not show enterprise channel for branded clients. Signed-off-by: Camila Ayres --- src/gui/generalsettings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/generalsettings.cpp b/src/gui/generalsettings.cpp index ba111adba7eec..f2e187ad748ee 100644 --- a/src/gui/generalsettings.cpp +++ b/src/gui/generalsettings.cpp @@ -283,7 +283,7 @@ void GeneralSettings::loadMiscSettings() #if defined(BUILD_UPDATER) auto validUpdateChannels = cfgFile.validUpdateChannels(); if (const auto serverHasValidSubscription = cfgFile.serverHasValidSubscription(); - serverHasValidSubscription) { + serverHasValidSubscription && !Theme::instance()->isBranded()) { validUpdateChannels << QStringLiteral("enterprise"); } _ui->updateChannel->addItems(validUpdateChannels);