BijoySingh / Scarlet-Notes

[Discontinued and Unsupported Project] Simple yet powerful rich note taking android application, with a lot of flexibilty of usage
https://play.google.com/store/apps/details?id=com.bijoysingh.quicknote
GNU General Public License v3.0
354 stars 94 forks source link

Main activity behaviour tweaks #142

Closed Fs00 closed 4 years ago

Fs00 commented 4 years ago

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.

Fs00 commented 4 years ago

Oh ok, I've misinterpreted the usage of that class. I'll revert it ASAP.

Fs00 commented 4 years ago

Reverted! We are ready for merging.

Fs00 commented 4 years ago

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).