Procházet zdrojové kódy

Removed redundant code

Kenric Nugteren před 1 rokem
rodič
revize
dd78656601

+ 2 - 4
prs.mobile.new/PRS.Mobile/Components/DigitalForms/Editor/Views/DigitalFormEmbeddedImage.cs

@@ -26,15 +26,13 @@ namespace PRS.Mobile
             UpdateUI();
         }
         
-        protected override Task<MobileDocument>  CaptureMedia()
+        protected override Task<MobileDocument> CaptureMedia()
         {
-            var photoSettings = new GlobalConfiguration<MobilePhotoSettings>().Load();
             return MobileDocument.From<MobileDocumentCameraSource>(PhotoUtils.CreateCameraOptions());
         }
 
-        protected override Task<MobileDocument>  SelectMedia()
+        protected override Task<MobileDocument> SelectMedia()
         {
-            var photoSettings = new GlobalConfiguration<MobilePhotoSettings>().Load();
             return MobileDocument.From<MobileDocumentPhotoLibrarySource>(PhotoUtils.CreatePhotoLibraryOptions());
         }