Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Fixed notification remove callback by looking up the original id #1693

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dakhnod
Copy link
Contributor

@dakhnod dakhnod commented Oct 19, 2019

No description provided.

@ashimokawa
Copy link
Contributor

@dakhnod
Interesting. Thanks.
I have to look up the original reason why I did that - it was something really bad.

if (shouldIgnore(sbn))
return;

Prefs prefs = GBApplication.getPrefs();
if (prefs.getBoolean("autoremove_notifications", false)) {
if (prefs.getBoolean("autoremove_notifications", true)) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Why change the default?

@dakhnod
Copy link
Contributor Author

dakhnod commented Oct 23, 2019

The first time I tried to uncomment the code because of a long to int conversion of getPostTime().

I changed the default because AFAIK the option from the settings is also disabled...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants