Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f679e559 authored by David A. Velasco's avatar David A. Velasco
Browse files

Updated OwnCloudAccount#getDisplayName with better fallbacks

parent 4d80ca09
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -144,6 +144,8 @@ public class OwnCloudAccount {
            return mDisplayName;
        } else if (mCredentials != null) {
            return mCredentials.getUsername();
        } else if (mSavedAccount != null) {
            return AccountUtils.getUsernameForAccount(mSavedAccount);
        } else {
            return null;
        }