Skip to content
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 option for opening keyboard after app drawer transition #107

Merged
merged 4 commits into from
May 31, 2022

Conversation

hayribakici
Copy link

This PR fixes #47

it also adds the possibity to change that in the preferences in Customize App Drawer -> Open Keyboard. I wasn't 100% sure where else to put this preference (see screenshot). We can change it, if you think it belongs elsewhere.

The preference to open the keyboard is per default set to true because, I also agree making the handling easier (see #47).

@jkuester
Copy link
Owner

@hayribakici Thanks for the contribution! Sorry for the delayed response here. Life has been busy. I just wanted to let you know that I am going to have a look at these as soon as I get a chance, but it may be a little bit.

Copy link
Owner

@jkuester jkuester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hayribakici I pushed a couple of changes here:

  • In the drawer options, I dropped the "Visible Apps" list down into its own Fragment that is accessed via a button in the drawer options (instead of keeping it on the same screen as the other drawer options. This seems a bit more clean then trying to cram it all into the same fragment.
  • I also moved the actual location the preference is stored from SharedPreferences into the Proto data store. I have been trying to put all new Unlauncher data/preferences into Proto since I like the idea of a single source of structured data as opposed to SharedPrefs + sqlite. (Of course, currently in the code base we have the worst situation where all the old Slim Launcher data is still in SharedPrefs/sqlite while the new Unlauncher settings/data are all in Proto, which I am sure is confusing to anyone trying to read this code. So, I apologize for that...)

Anyway, this is a great feature to have. Thanks again for contributing it! Let me know if you have any concerns or suggestions with my changes here. If it all looks good, I will get this merged!

@hayribakici
Copy link
Author

@jkuester It's definitely good to have a single source of data as for future PR's. I also like the additional fragment for the visible apps.
So overall, this looks good. Thanks for ironing out the rest. I guess this can be merged.

@jkuester jkuester merged commit c8f0e26 into jkuester:master May 31, 2022
@jkuester jkuester changed the title Open keyboard after app drawer transition Add option for opening keyboard after app drawer transition May 31, 2022
@hayribakici hayribakici deleted the #47_open_keyboard branch June 1, 2022 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Directly activate keyboard in searchfield when opening app list
2 participants