소스 검색

Removed redundant code

Kenric Nugteren 1 년 전
부모
커밋
dd78656601
1개의 변경된 파일2개의 추가작업 그리고 4개의 파일을 삭제
  1. 2 4
      prs.mobile.new/PRS.Mobile/Components/DigitalForms/Editor/Views/DigitalFormEmbeddedImage.cs

+ 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());
         }