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

Commit 9570b9d

Browse files
committed
Change activity to MainActivity for notifications
Signed-off-by: David Sn <[email protected]>
1 parent effcf5b commit 9570b9d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/main/java/de/codebucket/mkkm/service/TicketExpiryCheckService.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
import de.codebucket.mkkm.MobileKKM;
2323
import de.codebucket.mkkm.R;
24-
import de.codebucket.mkkm.activity.SplashActivity;
24+
import de.codebucket.mkkm.activity.MainActivity;
2525
import de.codebucket.mkkm.database.model.Ticket;
2626
import de.codebucket.mkkm.database.model.TicketDao;
2727
import de.codebucket.mkkm.login.AccountUtils;
@@ -56,7 +56,7 @@ public void run() {
5656
continue;
5757
}
5858

59-
Intent intent = new Intent(MobileKKM.getInstance(), SplashActivity.class);
59+
Intent intent = new Intent(MobileKKM.getInstance(), MainActivity.class);
6060
intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP);
6161

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

0 commit comments

Comments
 (0)