# HG changeset patch # User Da Risk # Date 1777953032 14400 # Node ID 22d79b1976769c0be814ecc817ba68b1aea8fe26 # Parent 7e40819b3fe2a6ecab27141529291c3edf7023cb ui: fix a few warnings diff -r 7e40819b3fe2 -r 22d79b197676 ui/common/src/androidMain/kotlin/com/geekorum/aboutoss/ui/common/AndroidBrowserLauncher.kt --- a/ui/common/src/androidMain/kotlin/com/geekorum/aboutoss/ui/common/AndroidBrowserLauncher.kt Mon May 04 23:44:20 2026 -0400 +++ b/ui/common/src/androidMain/kotlin/com/geekorum/aboutoss/ui/common/AndroidBrowserLauncher.kt Mon May 04 23:50:32 2026 -0400 @@ -22,7 +22,6 @@ package com.geekorum.aboutoss.ui.common import android.app.Activity -import android.content.Context import androidx.activity.compose.LocalActivity import androidx.compose.runtime.Composable import androidx.compose.runtime.DisposableEffect diff -r 7e40819b3fe2 -r 22d79b197676 ui/material2/build.gradle.kts --- a/ui/material2/build.gradle.kts Mon May 04 23:44:20 2026 -0400 +++ b/ui/material2/build.gradle.kts Mon May 04 23:50:32 2026 -0400 @@ -19,8 +19,6 @@ * You should have received a copy of the GNU General Public License * along with AboutOss. If not, see . */ -import org.jetbrains.kotlin.gradle.dsl.JvmTarget - plugins { id("com.geekorum.build.conventions.mpp-library-with-android") alias(libs.plugins.kotlin.compose) diff -r 7e40819b3fe2 -r 22d79b197676 ui/material3/src/commonMain/kotlin/com/geekorum/aboutoss/ui/material3/AdaptiveOpenSourceDependenciesScreen.kt --- a/ui/material3/src/commonMain/kotlin/com/geekorum/aboutoss/ui/material3/AdaptiveOpenSourceDependenciesScreen.kt Mon May 04 23:44:20 2026 -0400 +++ b/ui/material3/src/commonMain/kotlin/com/geekorum/aboutoss/ui/material3/AdaptiveOpenSourceDependenciesScreen.kt Mon May 04 23:50:32 2026 -0400 @@ -458,7 +458,7 @@ val dependencies = List(20) { "Dep $it" } - val licenses = dependencies.associate { it to "license of $it" } + val licenses = dependencies.associateWith { "license of $it" } val navigator = rememberListDetailPaneScaffoldNavigator() val coroutineScope = rememberCoroutineScope() AdaptiveOpenSourceDependenciesScreen(