From 48287d195a9be0494d60df77d6870e3880da7af4 Mon Sep 17 00:00:00 2001 From: monsieurtanuki Date: Sat, 12 Oct 2024 18:11:40 +0200 Subject: [PATCH] Fixed import --- .../app/src/main/kotlin/org/openfoodfacts/app/AppMainTile.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/smooth_app/android/app/src/main/kotlin/org/openfoodfacts/app/AppMainTile.kt b/packages/smooth_app/android/app/src/main/kotlin/org/openfoodfacts/app/AppMainTile.kt index b50b52a9b77..1f322a39af7 100644 --- a/packages/smooth_app/android/app/src/main/kotlin/org/openfoodfacts/app/AppMainTile.kt +++ b/packages/smooth_app/android/app/src/main/kotlin/org/openfoodfacts/app/AppMainTile.kt @@ -1,5 +1,6 @@ package org.openfoodfacts.app +import android.app.PendingIntent import android.content.Intent import android.os.Build import android.service.quicksettings.Tile @@ -27,7 +28,7 @@ class AppMainTile : TileService() { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.UPSIDE_DOWN_CAKE) { startActivityAndCollapse( PendingIntent.getActivity( - appContext, + applicationContext, 0, intent, PendingIntent.FLAG_IMMUTABLE