From 33f6250f8733c45a4cc77f2a7e3037c210f36ff7 Mon Sep 17 00:00:00 2001 From: MyAngelKamikaze Date: Mon, 25 Nov 2024 13:54:44 +0900 Subject: [PATCH] disable poi --- .../Data/PoiDbSubmission/PoiDbSubmissionService.cs | 3 +++ .../ConfigurationDataSubmissionUserControl.xaml | 6 +++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ElectronicObserver/Data/PoiDbSubmission/PoiDbSubmissionService.cs b/ElectronicObserver/Data/PoiDbSubmission/PoiDbSubmissionService.cs index 8a5b4dc7a..6ba8e1db9 100644 --- a/ElectronicObserver/Data/PoiDbSubmission/PoiDbSubmissionService.cs +++ b/ElectronicObserver/Data/PoiDbSubmission/PoiDbSubmissionService.cs @@ -37,6 +37,9 @@ public PoiDbSubmissionService(KCDatabase kcDatabase) private void OnConfigurationChanged() { + // disable poi till we can make it work + return; + if (Configuration.Config.DataSubmission.SendDataToPoiPreview) { SubscribeToApis(); diff --git a/ElectronicObserver/Window/Settings/DataSubmission/ConfigurationDataSubmissionUserControl.xaml b/ElectronicObserver/Window/Settings/DataSubmission/ConfigurationDataSubmissionUserControl.xaml index f093e9cc2..fc2f5435f 100644 --- a/ElectronicObserver/Window/Settings/DataSubmission/ConfigurationDataSubmissionUserControl.xaml +++ b/ElectronicObserver/Window/Settings/DataSubmission/ConfigurationDataSubmissionUserControl.xaml @@ -38,7 +38,11 @@ - +