Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 49870c4a authored by Ankita Vyas's avatar Ankita Vyas
Browse files

Suppress compose compiler error for default value

Bug: 322174422
Test: builds
Change-Id: Ia6ca034c8c7a7d6306f66bd3f0d9f29c9c62edbc
parent dd82dd11
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -37,6 +37,7 @@ fun rememberAppRepository(): AppRepository = rememberContext(::AppRepositoryImpl
interface AppRepository {
interface AppRepository {
    fun loadLabel(app: ApplicationInfo): String
    fun loadLabel(app: ApplicationInfo): String


    @Suppress("ABSTRACT_COMPOSABLE_DEFAULT_PARAMETER_VALUE")
    @Composable
    @Composable
    fun produceLabel(app: ApplicationInfo, isClonedAppPage: Boolean = false): State<String> {
    fun produceLabel(app: ApplicationInfo, isClonedAppPage: Boolean = false): State<String> {
        val context = LocalContext.current
        val context = LocalContext.current