Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

362 B
Raw Blame
int resolveInitialCommentsCollectionID({
  required int requestedCollectionID,
  required int? draftCollectionID,
  required bool preferDraftCollection,
  required bool hasHighlightedComment,
}) {
  return preferDraftCollection &&
          !hasHighlightedComment &&
          draftCollectionID != null
      ? draftCollectionID
      : requestedCollectionID;
}