Clinometer icon indicating copy to clipboard operation
Clinometer copied to clipboard

Avoid the overlapping of two toasts

Open GrazianoCapelli opened this issue 3 years ago • 4 comments

In camera mode, if the phone is not in vertical position, the app shows a toast that informs the user that the device should be placed in vertical position. If the user clicks the 'back" button, the app shows another toast with the message "click BACK again to exit", but it is not visible because the previous toast is over it

photo_2022-02-26_23-32-20

The first toast should be hidden when the second one is shown and, in case the user doesn't click BACK again, the first toast should return visible again.

GrazianoCapelli avatar Feb 26 '22 22:02 GrazianoCapelli

Hello, I think I can fix this issue, could you let me know the status of this issue.

Jenish-1235 avatar Sep 29 '24 13:09 Jenish-1235

Hello, this issue is still pending, if you are interested I can assign it to you.

PS: please note that we are not using a normal Toast widget, but we use a custom one.

GrazianoCapelli avatar Sep 29 '24 17:09 GrazianoCapelli

Sure, let me have a look at it. I can definitely work around that.

Jenish-1235 avatar Sep 29 '24 17:09 Jenish-1235

I fixed overlapping of toasts mentioned in this issue and made a pr , do have a look at that and link my pr to issue.

Jenish-1235 avatar Oct 02 '24 06:10 Jenish-1235