mirror of
				https://github.com/owncloud/android-library.git
				synced 2025-10-31 02:17:41 +00:00 
			
		
		
		
	Updated OwnCloudAccount#getDisplayName with better fallbacks
This commit is contained in:
		
							parent
							
								
									4d80ca096d
								
							
						
					
					
						commit
						f679e55933
					
				| @ -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; | ||||
|         } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user