Remove unused lambda parameter. The link is opened by the LocalUriHandler now.
This commit is contained in:
parent
1c50786299
commit
1b87565870
3 changed files with 0 additions and 16 deletions
|
|
@ -37,7 +37,6 @@ import io.element.android.libraries.ui.strings.CommonStrings
|
|||
fun AnalyticsPreferencesView(
|
||||
state: AnalyticsPreferencesState,
|
||||
modifier: Modifier = Modifier,
|
||||
onOpenAnalyticsPolicy: (url: String) -> Unit,
|
||||
) {
|
||||
fun onEnabledChanged(isEnabled: Boolean) {
|
||||
state.eventSink(AnalyticsOptInEvents.EnableAnalytics(isEnabled = isEnabled))
|
||||
|
|
@ -90,6 +89,5 @@ internal fun AnalyticsPreferencesViewDarkPreview(@PreviewParameter(AnalyticsPref
|
|||
private fun ContentToPreview(state: AnalyticsPreferencesState) {
|
||||
AnalyticsPreferencesView(
|
||||
state = state,
|
||||
onOpenAnalyticsPolicy = {},
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue