mirror of
https://github.com/owncloud/android-library.git
synced 2025-06-08 00:16:09 +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() {
|
||||
if (mName.length() > 0) {
|
||||
return mName;
|
||||
}
|
||||
if (mToken.length() > 0) {
|
||||
return mToken;
|
||||
}
|
||||
return "";
|
||||
return mName;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user