projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Let the list notification dismiss itself automatically when it’s empty.
[Sone.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
sone
/
web
/
WebInterface.java
diff --git
a/src/main/java/net/pterodactylus/sone/web/WebInterface.java
b/src/main/java/net/pterodactylus/sone/web/WebInterface.java
index
db1880b
..
747b192
100644
(file)
--- a/
src/main/java/net/pterodactylus/sone/web/WebInterface.java
+++ b/
src/main/java/net/pterodactylus/sone/web/WebInterface.java
@@
-419,9
+419,6
@@
public class WebInterface implements CoreListener {
@Override
public void markSoneKnown(Sone sone) {
newSoneNotification.remove(sone);
@Override
public void markSoneKnown(Sone sone) {
newSoneNotification.remove(sone);
- if (newSoneNotification.isEmpty()) {
- newSoneNotification.dismiss();
- }
}
/**
}
/**
@@
-430,9
+427,6
@@
public class WebInterface implements CoreListener {
@Override
public void markPostKnown(Post post) {
newPostNotification.remove(post);
@Override
public void markPostKnown(Post post) {
newPostNotification.remove(post);
- if (newPostNotification.isEmpty()) {
- newPostNotification.dismiss();
- }
}
/**
}
/**
@@
-441,9
+435,6
@@
public class WebInterface implements CoreListener {
@Override
public void markReplyKnown(Reply reply) {
newReplyNotification.remove(reply);
@Override
public void markReplyKnown(Reply reply) {
newReplyNotification.remove(reply);
- if (newReplyNotification.isEmpty()) {
- newReplyNotification.dismiss();
- }
}
/**
}
/**