Open status from notifications
This commit is contained in:
parent
305d28a5c1
commit
92fb55cb3a
2 changed files with 54 additions and 16 deletions
|
|
@ -394,6 +394,18 @@ public class NotificationsFragment extends SFragment implements
|
|||
super.viewAccount(id);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onViewStatusForNotificationId(String notificationId) {
|
||||
for (Either<Placeholder, Notification> either : notifications) {
|
||||
Notification notification = either.getAsRightOrNull();
|
||||
if (notification != null && notification.id.equals(notificationId)) {
|
||||
super.viewThread(notification.status);
|
||||
return;
|
||||
}
|
||||
}
|
||||
Log.w(TAG, "Didn't find a notification for ID: " + notificationId);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) {
|
||||
switch (key) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue