element-android icon indicating copy to clipboard operation
element-android copied to clipboard

Mutualize the pending auth handling

Open mnaturel opened this issue 3 years ago • 0 comments

Your use case

What would you like to do?

Mutualize the process of pending auth handling.

Why would you like to do it?

Several ViewModel which need authentication for some actions duplicate the same code to handle the pending auth and action.

How would you like to achieve it?

Create a dedicated PendingAuthHandler to encapsulate the logic and add unit tests on it.

Have you considered any alternatives?

No response

Additional context

No response

Are you willing to provide a PR?

Yes

mnaturel avatar Sep 21 '22 13:09 mnaturel