mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 17:46:37 +03:00
user server name instead of slogan
This commit is contained in:
parent
09435b49c9
commit
a98229d6fa
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue