Closed Fs00 closed 4 years ago
Oh ok, I've misinterpreted the usage of that class. I'll revert it ASAP.
Reverted! We are ready for merging.
I've just rebased and fixed a little bug that may cause the keyboard to remain open when clicking the back button in main activity search toolbar (the bug never happened on the emulator, but only on my phone).
The bug was caused by currentFocus.windowToken
throwing a NullPointerException in tryClosingTheKeyboard
(the toolbar had been already hidden, therefore nothing was focused when the function was called).
Fixes another problem mentioned in #121: notes created with "No notes" button are now saved in the current folder. I've also avoided the creation of information items during search, since I find them a bit disruptive in that context.