Skip to content

Commit

Permalink
Fix FileDetailFragmentStaticServerIT failing
Browse files Browse the repository at this point in the history
Signed-off-by: ZetaTom <[email protected]>
  • Loading branch information
ZetaTom committed Feb 5, 2024
1 parent d03ccb1 commit b3d80cb
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,11 @@ public void refreshCapabilitiesFromDB() {
* before reading database.
*/
public void refreshSharesFromDB() {
file = fileDataStorageManager.getFileById(file.getFileId());
OCFile newFile = fileDataStorageManager.getFileById(file.getFileId());
if (newFile != null) {
file = newFile;
}

ShareeListAdapter adapter = (ShareeListAdapter) binding.sharesList.getAdapter();

if (adapter == null) {
Expand Down

0 comments on commit b3d80cb

Please sign in to comment.