Page MenuHomePhabricator

[lib] Consolidate `updateImageThreadAvatar` into `baseSetThreadAvatar`
ClosedPublic

Authored by atul on Aug 9 2023, 3:21 PM.
Tags
None
Referenced Files
F2204769: D8774.id29806.diff
Sat, Jul 6, 6:07 PM
F2204758: D8774.id29801.diff
Sat, Jul 6, 6:02 PM
F2200745: D8774.diff
Sat, Jul 6, 12:59 AM
F2199149: D8774.diff
Fri, Jul 5, 7:36 PM
Unknown Object (File)
Thu, Jul 4, 2:36 AM
Unknown Object (File)
Tue, Jul 2, 9:32 AM
Unknown Object (File)
Tue, Jul 2, 9:23 AM
Unknown Object (File)
Mon, Jul 1, 9:49 PM
Subscribers

Details

Summary

This is the thread avatar version of D8363.

After removing all of the platform-specific stuff from updateImageThreadAvatar and baseSetThreadAvatar, there was one line different between them. Seemed simpler to handle w/ a conditional than two separate functions.

Test Plan

Close reading, made sure spinner continued to behave as expected when updating image avatar on native.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable