mirror of
				https://github.com/owncloud/android-library.git
				synced 2025-10-31 02:17:41 +00:00 
			
		
		
		
	Get public share name instead of token when using public share getName method and there's no name
This commit is contained in:
		
							parent
							
								
									8f3aeb30ed
								
							
						
					
					
						commit
						e80b50d4de
					
				| @ -223,13 +223,7 @@ public class OCShare implements Parcelable, Serializable { | |||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     public String getName() { |     public String getName() { | ||||||
|         if (mName.length() > 0) { |         return mName; | ||||||
|             return mName; |  | ||||||
|         } |  | ||||||
|         if (mToken.length() > 0) { |  | ||||||
|             return mToken; |  | ||||||
|         } |  | ||||||
|         return ""; |  | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     public void setName(String name) { |     public void setName(String name) { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user