Skip to content

Commit

Permalink
Merge pull request #807 from mikepenz/fix/796_2
Browse files Browse the repository at this point in the history
Remove usage of experimental `DialogProperties`
  • Loading branch information
mikepenz committed Oct 15, 2022
2 parents 2d8f5f5 + 4efb486 commit 69d78c8
Showing 1 changed file with 0 additions and 6 deletions.
Expand Up @@ -4,7 +4,6 @@ import android.content.Context
import android.widget.TextView
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.lazy.LazyListScope
import androidx.compose.foundation.lazy.LazyListState
Expand All @@ -16,7 +15,6 @@ import androidx.compose.runtime.Composable
import androidx.compose.runtime.LaunchedEffect
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.remember
import androidx.compose.ui.ExperimentalComposeUiApi
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.toArgb
Expand All @@ -25,7 +23,6 @@ import androidx.compose.ui.res.stringResource
import androidx.compose.ui.tooling.preview.Preview
import androidx.compose.ui.unit.dp
import androidx.compose.ui.viewinterop.AndroidView
import androidx.compose.ui.window.DialogProperties
import androidx.core.text.HtmlCompat
import com.mikepenz.aboutlibraries.Libs
import com.mikepenz.aboutlibraries.entity.Library
Expand Down Expand Up @@ -126,7 +123,6 @@ fun Libraries(
}
}

@OptIn(ExperimentalComposeUiApi::class)
@Composable
fun LicenseDialog(
library: Library,
Expand Down Expand Up @@ -155,8 +151,6 @@ fun LicenseDialog(
)
}
},
modifier = Modifier.padding(16.dp),
properties = DialogProperties(usePlatformDefaultWidth = false),
)
}

Expand Down

0 comments on commit 69d78c8

Please sign in to comment.