From 7c20d541cd28afce318b171fe34b856627619aeb Mon Sep 17 00:00:00 2001 From: MM20 <15646950+MM2-0@users.noreply.github.com> Date: Sun, 5 Nov 2023 20:04:42 +0100 Subject: [PATCH] Add missing function implementation --- .../java/de/mm20/launcher2/appshortcuts/UnavailableShortcut.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/appshortcuts/src/main/java/de/mm20/launcher2/appshortcuts/UnavailableShortcut.kt b/data/appshortcuts/src/main/java/de/mm20/launcher2/appshortcuts/UnavailableShortcut.kt index ce547b6b..44d99017 100644 --- a/data/appshortcuts/src/main/java/de/mm20/launcher2/appshortcuts/UnavailableShortcut.kt +++ b/data/appshortcuts/src/main/java/de/mm20/launcher2/appshortcuts/UnavailableShortcut.kt @@ -67,7 +67,7 @@ internal class UnavailableShortcut( override val isUnavailable: Boolean = true override val profile: AppProfile - get() = TODO("Not yet implemented") + get() = if (isMainProfile) AppProfile.Personal else AppProfile.Work companion object { internal operator fun invoke(context: Context, id: String, packageName: String, userSerial: Long): UnavailableShortcut? {