Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Gibran Chevalley <32095402+LunarX@users.noreply.github.com>
  • Loading branch information
KevinBoulongne and LunarX committed Jun 20, 2024
1 parent 68bfcb0 commit b2715b1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -820,7 +820,7 @@ class NewMessageViewModel @Inject constructor(
* - we are in FORWARD mode,
* - all Attachments have no `uploadLocalUri` (meaning they are all from the original forwarded Message),
* - there quantity is the same in UI and in Realm,
* Then it means the Attachments list hasn't be edited by the user, so we have nothing to do here.
* Then it means the Attachments list hasn't been edited by the user, so we have nothing to do here.
*/
if (draftMode == DraftMode.FORWARD &&
uiAttachments.all { it.uploadLocalUri == null } &&
Expand Down

0 comments on commit b2715b1

Please sign in to comment.