mifos-mobile icon indicating copy to clipboard operation
mifos-mobile copied to clipboard

Bug : profile photo not visible after changing theme , need to refresh

Open NiranjanNlc opened this issue 1 year ago • 13 comments
trafficstars

Summary:

While we change the theme of the app , the profile photo is not visible in home page

Steps to reproduce:

  1. Open the app
  2. change the theme of the app .
  3. observe the profile photo in home page

Expected behaviour:

Profile photo should be clearly visible despite changing profile photo

Observed behaviour:

when we normally open the app, the profile photo is normally visible . But , when we change the app theme , the profile photo seems go nowhere. The space of the profile photo is observed empty and the profile photo is invisible . Device and Android version:

Redm 9A , android version : 10

Screenshots:

https://github.com/openMF/mifos-mobile/assets/25600880/8ffceb86-1a09-4a0f-b9ec-a8530e1e4277

NiranjanNlc avatar Jan 17 '24 02:01 NiranjanNlc

i will be working on this .

@PratyushSingh07 , please get me this issuses assigned

NiranjanNlc avatar Jan 17 '24 02:01 NiranjanNlc

But the profile picture re appears when you pull down to refresh

PratyushSingh07 avatar Jan 17 '24 03:01 PratyushSingh07

yeah i noticed but was not it supposed to appear without refereshng

NiranjanNlc avatar Jan 17 '24 06:01 NiranjanNlc

yeah i noticed but was not it supposed to appear without refereshng

not really sure, you can solve it and then maybe we can ask rajan to have a look at it

PratyushSingh07 avatar Jan 17 '24 06:01 PratyushSingh07

Hello @NiranjanNlc @PratyushSingh07 , If anyone is not working on it, can I try to solve this?

arjesh-vadadoria avatar Jan 18 '24 09:01 arjesh-vadadoria

@PratyushSingh07 if this is not fixed, then can I work on this?

arjesh-vadadoria avatar Jan 20 '24 08:01 arjesh-vadadoria

I am working on this @arjesh-vadadoria .

NiranjanNlc avatar Jan 20 '24 14:01 NiranjanNlc

Okay no problem @NiranjanNlc , @PratyushSingh07 if we have any other issues, can you please assign it to me, I can work with intermediate to advanced issues too.

arjesh-vadadoria avatar Jan 20 '24 15:01 arjesh-vadadoria

It was a completely simple fix . Would you review from your end @PratyushSingh07

NiranjanNlc avatar Jan 26 '24 12:01 NiranjanNlc

Does this issue persist following the latest commit @NiranjanNlc @AvneetSingh2001 ? If not then we can close this issue and the PR linked to this

PratyushSingh07 avatar Feb 13 '24 14:02 PratyushSingh07

I have migrated the HomeFragment to compose and handled this issue already in that PR, which is merged also. But for navigation drawer, the issue is still there. @PratyushSingh07 One way is @NiranjanNlc can only include the changes of Navigation drawer in the PR, or we can raise another PR to migrate drawer also to Compose.

AvneetSingh2001 avatar Feb 13 '24 14:02 AvneetSingh2001

Thank you @AvneetSingh2001 . @NiranjanNlc the choice is yours. You can either migrate the nav drawer to compose or you can amend your existing PR to only include the changes in nav drawer. If you ask me then migrating the nav drawer to compose will be a more viable option

PratyushSingh07 avatar Feb 13 '24 14:02 PratyushSingh07

@PratyushSingh07 , ammended the PR for now . Needed some more effort, time and learning to migrate nav drawer . please get my PR reviewed for now .

NiranjanNlc avatar Feb 14 '24 02:02 NiranjanNlc