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

Unverified Commit 4ec4f1a7 authored by tobiasKaminsky's avatar tobiasKaminsky Committed by AndyScherzinger
Browse files

add localId to serverFileInterface for Trashbin

parent 2c7ac048
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -8,6 +8,8 @@ public interface ServerFileInterface {
    
    String getRemotePath();
    
    String getLocalId();
    
    String getRemoteId();
    
    boolean getIsFavorite();
+7 −0
Original line number Diff line number Diff line
@@ -99,6 +99,13 @@ public class TrashbinFile implements Parcelable, Serializable, ServerFileInterfa
        this.remoteId = remoteId;
    }

    /**
     * For trashbin this is the same as remoteId
     */
    public String getLocalId() {
        return getRemoteId();
    }
    
    public void setFileName(String fileName) {
        this.fileName = fileName;
    }