user server name instead of slogan

This commit is contained in:
tobiasKaminsky 2017-07-10 14:17:42 +02:00
parent 09435b49c9
commit a98229d6fa
No known key found for this signature in database
GPG key ID: 0E00D4D47D0C5AF7

View file

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