From a98229d6fa0d4b5cfcf3c0fb45e77efae8f7191f Mon Sep 17 00:00:00 2001 From: tobiasKaminsky Date: Mon, 10 Jul 2017 14:17:42 +0200 Subject: [PATCH] user server name instead of slogan --- src/main/java/com/owncloud/android/utils/ThemeUtils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/owncloud/android/utils/ThemeUtils.java b/src/main/java/com/owncloud/android/utils/ThemeUtils.java index 7fc8c2f579..d7a29c1970 100644 --- a/src/main/java/com/owncloud/android/utils/ThemeUtils.java +++ b/src/main/java/com/owncloud/android/utils/ThemeUtils.java @@ -159,10 +159,10 @@ public class ThemeUtils { public static String getDefaultDisplayNameForRootFolder() { OCCapability capability = getCapability(); - if (capability.getServerSlogan() == null || capability.getServerSlogan().isEmpty()) { + if (capability.getServerName() == null || capability.getServerName().isEmpty()) { return MainApp.getAppContext().getResources().getString(R.string.default_display_name_for_root_folder); } else { - return capability.getServerSlogan(); + return capability.getServerName(); } }