Skip to content

Commit

Permalink
#1079 Do not refresh displayName on Pull 2 Refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-niedermann committed May 12, 2021
1 parent d1ebf6c commit 757d727
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -414,8 +414,6 @@ public void synchronizeCapabilities(@NonNull Account localAccount, @NonNull IRes
}
}
callback.onError(t);
} finally {
repo.updateDisplayName(localAccount.getId(), CapabilitiesClient.getDisplayName(getApplication(), ssoAccount));
}
} catch (NextcloudFilesAppAccountNotFoundException e) {
repo.deleteAccount(localAccount);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ public class Capabilities {

private String apiVersion = null;
@ColorInt
private int color = -16743735;
private int color = -16743735; // #0082C9
@ColorInt
private int textColor = -16777216;
private int textColor = -16777216; // #000000
@Nullable
private String eTag;

Expand Down

0 comments on commit 757d727

Please sign in to comment.