浏览代码

user server name instead of slogan

tobiasKaminsky 7 年之前
父节点
当前提交
a98229d6fa
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/main/java/com/owncloud/android/utils/ThemeUtils.java

+ 2 - 2
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();
         }
     }