mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
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:
parent
cdd940f669
commit
bc05dc8a18
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user