From 7b79cec0ed26172dd8b5f3d98f31e624f02b9e31 Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Mon, 22 Nov 2021 23:41:06 -0500 Subject: [PATCH] Remove old comments --- Tusker/Screens/Large Image/LargeImageViewController.swift | 2 -- 1 file changed, 2 deletions(-) diff --git a/Tusker/Screens/Large Image/LargeImageViewController.swift b/Tusker/Screens/Large Image/LargeImageViewController.swift index 2dcb5e9a..e81b7cfd 100644 --- a/Tusker/Screens/Large Image/LargeImageViewController.swift +++ b/Tusker/Screens/Large Image/LargeImageViewController.swift @@ -125,7 +125,6 @@ class LargeImageViewController: UIViewController, UIScrollViewDelegate, LargeIma override func viewDidLayoutSubviews() { super.viewDidLayoutSubviews() - // todo: does this need to be in viewDidLayoutSubviews? // limit the image height to the safe area height, so the image doesn't overlap the top controls // while zoomed all the way out let maxHeight = view.bounds.height - view.safeAreaInsets.top - view.safeAreaInsets.bottom @@ -138,7 +137,6 @@ class LargeImageViewController: UIViewController, UIScrollViewDelegate, LargeIma centerImage() - // todo: does this need to be in viewDidLayoutSubviews? let notchedDeviceTopInsets: [CGFloat] = [ 44, // iPhone X, Xs, Xs Max, 11 Pro, 11 Pro Max 48, // iPhone XR, 11