-
Notifications
You must be signed in to change notification settings - Fork 489
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add account selection activity and support profile locks #736
Conversation
For the most part, this is done, or at least things I have noticed are done. |
The grid layout definitely still needs some improvement as the gap gets further and further apart for larger screen sizes. |
This is fixed |
On TV layout this is one vertical column on the far left. This was done so that you don't have to keep pressing side DPAD keys and can just scroll down. I thought that was better UX, but I can change it if needed. |
i was thinking to add a biometric lock to app itself but it is not needed anymore after this 👍 |
That gives me an idea. I wonder if we could support biometric locks as the master lock (default account lock + lock needed to delete accounts, and maybe to remove pins from any account if you forget them, but I'm not sure about that last bit) |
it will be an overkill, this is great enough imo |
Yeah, it would not be hard to support device password/biometrics, but yeah might not be needed. |
Biometrics is pain in the as that requires us to add that permission and make some sort of "safe" storage for that data, all for a 4 pin password |
It is not needed, it was just an option to reset pin if you forgot it but don't need it. |
66e63b3
to
4644e52
Compare
I think I fixed every issue I know exists with this now (except maybe auto-focus on PIN input when shown), maybe missed something, but at least UI seems to be much improved and works better now. |
c216c99
to
d1e4642
Compare
This would also make extensions load in the background while you select account instead of offloading it entirely to after you select an account |
I think having a default account is necessary and it should not require any pin to remove accounts in case you forget it or smth. It should always be possible to remove all accounts even if you forget every password impo |
Account.customImage already exist for this exact thing, we simply do not have UI to let the user input the image url themself |
Yep, I know that is why I mentioned it, I will probably follow up later on adding this support |
Nope, netflix is once per session login, not once per app click. I tested right now on my own device
Ye, it might load faster, but the user will notice the 1s or so loading duration when clicking the account, you cant escape the loading time, one is not better than the other. Mainactivity loads stuff like extractors on runtime, and that is why I want you to be on mainactivity so they can load when you select account |
I tested right now as well, I go to netlix, go to account, go to my device home, click the netflix icon again and it gives account selection again
When you select account MainActivity loads, so if extractors are done on MainActivity that is still loaded, however, I was just testing something else, it seems to load perfectly if you simply extend MainActivity and override onCreate, but same behaver but it can fix the PiP issue anyway, thoughts on that? |
I do not care how you solve it, but I need one login per session. Having to re login every time you open the app on a phone is very very bad and this wont get merged until you fix it. This has the extended fix of not fucking up any pip or actions that are already on one account like watching a movie |
I figured out how, I just have to change a single line in AndroidManifest |
@fire-light42 that should fix it |
Amazing, now this update it amazing and ready to merge. 🔥 🔥 🔥 🔥 If you still feel like keeping the old behavior for locked account keep in mind that you need to clean ALL data when doing OnResume if we switch accounts. That being said, this is a personal issue, and should be a small change to styles, but bottom nav is not the same color as bg. This is not necessary to fix for merge |
Thanks a ton for the review. I'll think about doing that for locked accounts in a later patch, and I can do style update to fix navbar a little later in a seperate patch, unless you absolutely want it for this one? |
You can pr the style fix or other account shit at a later time, if you want this merged now then reply with 👍 or ask for it. |
You can merge this. Thanks! |
I went ahead and fixed the navigation bar color with this PR |
Thanks a ton @fire-light42 |
@Luna712 Your prs are always 🔥 btw you dont need to use View.VISIBLE, android has a built in getter and setter for isVisible. |
Thanks for the tip, setting View.VISIBLE was more of a personal preference for me over isVisible = true, but I'll take that into account in the future. I just personally like using constants when possible but in the future I'll use the other way, thanks! |
@Luna712, does it have the option for a list layout? |
What do you mean by list layout? |
This also includes things from #733, if that is merged before this, I can rebase this again.
Resolves #604
TODO:
Follow-up patch(s) for account improvements: