helloworld1 / FreeOTPPlus

Enhanced fork of FreeOTP-Android providing a feature-rich 2FA authenticator
Apache License 2.0
644 stars 73 forks source link

Make it easier to manually lock the app #102

Open Minoru opened 3 years ago

Minoru commented 3 years ago

Currently, it requires two taps to lock the app: tap the menu, then tap "Quit and lock". But most of the time, all I do with FreeOTP+ is unlock, scroll, tap the appropriate token, go enter it somewhere, then "quit and lock" the app.

It's be nice if there was a separate button (in the left bottom corner, perhaps?) that locks and quits the app.

helloworld1 commented 3 years ago

If you just press back button to back out the app, it will also lock. The "Quit and lock" option is just giving peace of mind. Probably, the app should give a toast message saying locked.

Minoru commented 3 years ago

If you just press back button to back out the app, it will also lock

Ah, indeed! Sorry, I didn't think of trying it before opening this issue ._.

Probably, the app should give a toast message saying locked.

I think it'd be better the other way around: keep a toast message while the app is unlocked. The message should contain a "Lock" button which locks the app and removes the message. That's what KeePassDX does, for example, and I enjoy the reminder and the convenience.