Create MobileAppIntegrationManager

This commit is contained in:
estevez-dev
2019-08-31 22:06:52 +03:00
parent b07ff6fe71
commit 3e12f4f8a4
4 changed files with 125 additions and 121 deletions

View File

@ -75,7 +75,7 @@ class _ConfigPanelWidgetState extends State<ConfigPanelWidget> {
}
updateRegistration() {
HomeAssistant().checkAppRegistration(showOkDialog: true);
MobileAppIntegrationManager.checkAppRegistration(showOkDialog: true);
}
resetRegistration() {
@ -85,7 +85,7 @@ class _ConfigPanelWidgetState extends State<ConfigPanelWidget> {
positiveText: "Done it already",
negativeText: "Ok, I will",
onPositive: () {
HomeAssistant().checkAppRegistration(showOkDialog: true, forceRegister: true);
MobileAppIntegrationManager.checkAppRegistration(showOkDialog: true, forceRegister: true);
},
));
}