Plugin screen: fix set as weather provider action
This commit is contained in:
parent
ddf94a2536
commit
60fb2b7309
@ -387,6 +387,9 @@ fun PluginSettingsScreen(pluginId: String) {
|
|||||||
stringResource(R.string.plugin_weather_provider_enable)
|
stringResource(R.string.plugin_weather_provider_enable)
|
||||||
} else {
|
} else {
|
||||||
stringResource(R.string.plugin_weather_provider_enabled)
|
stringResource(R.string.plugin_weather_provider_enabled)
|
||||||
|
},
|
||||||
|
onClick = {
|
||||||
|
viewModel.setWeatherProvider(plugin.plugin.authority)
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user