SimpleMobileTools / Simple-Notes

A simple textfield for adding quick notes without ads.
https://www.simplemobiletools.com
GNU General Public License v3.0
825 stars 271 forks source link

Fixed showing note picker on opening from shortcut (#679) #680

Closed Aga-C closed 12 months ago

Aga-C commented 12 months ago

Fixes #679

The problem occurred for all types of shortcuts, so this fix is for all of them.

Before:

https://github.com/SimpleMobileTools/Simple-Notes/assets/85929121/6d4f6064-10f8-4de3-8927-de94bfeeed00

After:

https://github.com/SimpleMobileTools/Simple-Notes/assets/85929121/4b229713-80ca-4087-b798-358ccb3b39e2

tibbi commented 12 months ago

can you apply it to widgets too?

Aga-C commented 12 months ago

can you apply it to widgets too?

It works for widgets too.

tibbi commented 12 months ago

not to me

Aga-C commented 12 months ago

I've tested both on emulator and real device (with Android 13), and it works for all kinds of widgets and shortcuts. Also, widgets always provide note id via intent, so it should work without any problems. Can you try building the code and testing once again?

tibbi commented 12 months ago

works now, guess I had to clean the project or whatever... Thanks