Docile-Alligator / Infinity-For-Reddit

A Reddit client for Android
https://play.google.com/store/apps/details?id=ml.docilealligator.infinityforreddit
GNU Affero General Public License v3.0
4.17k stars 404 forks source link

Karma in sidebar doesn't update at the same rate as in profile #1677

Open hldr4 opened 3 months ago

hldr4 commented 3 months ago

Checklist

App version

7.2.6

Where did you get the app from

Google Play

Android version

14

Device model

Pixel 7

First occurred

Since the beginning of usage

Steps to reproduce

Check screenshots (sorry, idk how to resize them), first in sidebar, second in profile section. Profile has realtime updates, while sidebar shows ~200 less karma than the actual number, I believe the value in sidebar is cached on app open, then stays static until you force-close and reopen the app.

Screenshot_20240621-212657_1

Screenshot_20240621-212714_1

Example post, link, markdown...

No response

Expected behaviour

Every time sidebar is pulled up, fetch the current karma value, mirroring the behavior of profile section

Current behaviour

Karma in sidebar is cached, won't refresh until app is reopened

Logs

No response