mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-21 13:19:02 +00:00
Opened app when user clicks PM notification
This commit is contained in:
parent
c346327587
commit
6948047ae2
2 changed files with 2 additions and 1 deletions
|
|
@ -111,6 +111,7 @@ public class PushNotificationManager {
|
|||
if (this.user.getPushDevices() == null) {
|
||||
return true;
|
||||
}
|
||||
|
||||
for(PushDevice pushDevice : this.user.getPushDevices()) {
|
||||
if(pushDevice.getRegId().equals(this.refreshedToken)) {
|
||||
return true;
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ public class ReceivedPrivateMessageLocalNotification extends HabiticaLocalNotifi
|
|||
}
|
||||
|
||||
protected void setNotificationActions() {
|
||||
Intent intent = new Intent(context, LocalNotificationActionReceiver.class);
|
||||
Intent intent = new Intent(context, MainActivity.class);
|
||||
PendingIntent pendingIntent = PendingIntent.getActivity(
|
||||
context,
|
||||
3000,
|
||||
|
|
|
|||
Loading…
Reference in a new issue