Преглед на файлове

Fixed General Documents on mobile

Kenric Nugteren преди 1 година
родител
ревизия
714d6c387a
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      prs.mobile.new/PRS.Mobile/Modules/Site/JobWebDocuments/JobWebDocuments.xaml.cs

+ 1 - 1
prs.mobile.new/PRS.Mobile/Modules/Site/JobWebDocuments/JobWebDocuments.xaml.cs

@@ -25,7 +25,7 @@ namespace PRS.Mobile
             Webview.On<Xamarin.Forms.PlatformConfiguration.Android>().DisplayZoomControls(true);
             
             var webSettings = new GlobalConfiguration<WebSettings>().Load();
-            var DBSettings = new LocalConfiguration<DatabaseSettings>().Load();
+            var DBSettings = new LocalConfiguration<MobileDatabaseSettings>().Load();
             string userid = Encryption.Encrypt(DBSettings.UserID, DateTime.Now.ToString("yyyy-MM-dd"), true);
             string password = Encryption.Encrypt(DBSettings.Password, DateTime.Now.ToString("yyyy-MM-dd"), true);
             Webview.Source = $"{webSettings.URL}:{webSettings.Port}/v1/Job/job_documents?id={Job.ID}&userid={userid}&password={password}";