Skip to content
This repository has been archived by the owner on Feb 2, 2021. It is now read-only.

Commit

Permalink
Change activity to MainActivity for notifications
Browse files Browse the repository at this point in the history
Signed-off-by: David Sn <[email protected]>
  • Loading branch information
divadsn committed Oct 16, 2020
1 parent effcf5b commit 9570b9d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

import de.codebucket.mkkm.MobileKKM;
import de.codebucket.mkkm.R;
import de.codebucket.mkkm.activity.SplashActivity;
import de.codebucket.mkkm.activity.MainActivity;
import de.codebucket.mkkm.database.model.Ticket;
import de.codebucket.mkkm.database.model.TicketDao;
import de.codebucket.mkkm.login.AccountUtils;
Expand Down Expand Up @@ -56,7 +56,7 @@ public void run() {
continue;
}

Intent intent = new Intent(MobileKKM.getInstance(), SplashActivity.class);
Intent intent = new Intent(MobileKKM.getInstance(), MainActivity.class);
intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP);

NotificationCompat.Builder builder = new NotificationCompat.Builder(MobileKKM.getInstance(), Const.ID.EXPIRY_NOTIFICATION_CHANNEL);
Expand Down

0 comments on commit 9570b9d

Please sign in to comment.