This should handle the fact that accountNames are of arbitrary length
MD5 is fine for this, as it should be quicker than SHA and the chance of collisions here is very low
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
Move all Theme classes to DI
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
Move all Theme classes to DI
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
* Don't load entire OCFiles in the Shared view, as it takes too long
Instead, build partially-filled OCFiles from the OCShares we get
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
* Load metadata of shared files only when attempting to interact with them
This was quite a big undertaking and required a whole new fragment
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
* Fix wrong usages of deprecaed OCShare shareType setter
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
Android Studio has started to fail for some stuff with that old structure (for example connected tests don't work).
It's about time to do this.
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>