MateriiApps / OpenCord

An open-source Material You implementation of the Discord Android app
GNU General Public License v3.0
1.24k stars 97 forks source link

Server images offloading #137

Open pozitigor1 opened 1 year ago

pozitigor1 commented 1 year ago

I noticed one thing while using opencord app: When im opening the chats, so the server buttons are out of sight as well as the server icons, it seems like server buttons and images are offloading from the opencord memory, it means that they loading again when im sliding the chat window in order to select another server, that causing a lag in transition while im sliding the chat.

Maybe there should be any way to prevent buttons and images from offloading by hiding them under the chat and disabling their "button functionalities"?

rushiiMachine commented 1 year ago

They are removed from the compose tree, which is intentional behavior as it is quite heavy to render

Assuming you aren't using a release build, this isn't really an issue with optimizations

pozitigor1 commented 1 year ago

But there is no release build, the github page offers only a nightly build