Plugin screen: fix set as weather provider action

This commit is contained in:
MM20 2024-02-19 00:00:56 +01:00
parent ddf94a2536
commit 60fb2b7309
No known key found for this signature in database
GPG Key ID: 0B61A8F2DEAFA389

View File

@ -387,6 +387,9 @@ fun PluginSettingsScreen(pluginId: String) {
stringResource(R.string.plugin_weather_provider_enable)
} else {
stringResource(R.string.plugin_weather_provider_enabled)
},
onClick = {
viewModel.setWeatherProvider(plugin.plugin.authority)
}
)
}