Use NEXTCLOUD_DEV to check if client is branded instead of checking for string.

Signed-off-by: Camila Ayres <hello@camilasan.com>
This commit is contained in:
Camila Ayres 2024-07-04 09:50:53 +02:00
parent cdd940f669
commit bc05dc8a18
No known key found for this signature in database
GPG Key ID: 7A4A6121E88E2AD4

View File

@ -117,7 +117,7 @@ QString Theme::statusHeaderText(SyncResult::Status status) const
bool Theme::isBranded() const
{
return (appNameGUI() != QStringLiteral("Nextcloud") && appNameGUI() != QStringLiteral("NextcloudDev"));
return (appNameGUI() != QStringLiteral("Nextcloud") && NEXTCLOUD_DEV == 0);
}
QString Theme::appNameGUI() const