Page MenuHomePhabricator

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

Authored by atul on Aug 9 2023, 3:21 PM.
Tags
None
Referenced Files
F3887312: D8774.diff
Fri, Jan 24, 7:59 AM
Unknown Object (File)
Sun, Jan 12, 7:51 AM
Unknown Object (File)
Thu, Jan 9, 9:30 PM
Unknown Object (File)
Thu, Jan 9, 1:30 PM
Unknown Object (File)
Thu, Jan 9, 1:26 PM
Unknown Object (File)
Thu, Jan 9, 3:22 AM
Unknown Object (File)
Sun, Jan 5, 4:42 PM
Unknown Object (File)
Tue, Dec 31, 12:17 AM
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