Parcourir la source

Reverting trend back to fixed location

Mike il y a 1 an
Parent
commit
954a1a04d1
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      LoopFollow/Contact/ContactImageUpdater.swift

+ 1 - 1
LoopFollow/Contact/ContactImageUpdater.swift

@@ -150,7 +150,7 @@ class ContactImageUpdater {
     
     if contactType == "Trend" && ObservableUserDefaults.shared.contactTrend.value == "Separate" {
         // Customizing image for Trend contact when value is Separate
-        let trendRect = CGRect(x: 0, y: yOffset, width: size.width, height: size.height - 80)
+        let trendRect = CGRect(x: 0, y: 46, width: size.width, height: size.height - 80)
         extraTrend.draw(in: trendRect, withAttributes: trendAttributes)
     } else if contactType == "Delta" && ObservableUserDefaults.shared.contactDelta.value == "Separate" {
         // Customizing image for Delta contact when value is Separate