Skip to content

Commit

Permalink
Do not show enterprise channel for branded clients.
Browse files Browse the repository at this point in the history
Signed-off-by: Camila Ayres <[email protected]>
  • Loading branch information
camilasan committed Jun 3, 2024
1 parent 93eae42 commit b88d1dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/generalsettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b88d1dd

Please sign in to comment.