Ver Fonte

Fixed breaking, incorrect reference to "initals" param

Stephan Hagemann há 7 anos atrás
pai
commit
9c685ab76d
1 ficheiros alterados com 3 adições e 3 exclusões
  1. 3 3
      deltachat-ios/SampleData.swift

+ 3 - 3
deltachat-ios/SampleData.swift

@@ -184,11 +184,11 @@ final class SampleData {
     func getAvatarFor(sender: Sender) -> Avatar {
         switch sender {
         case dan:
-            return Avatar(image: #imageLiteral(resourceName: "ic_people_36pt").withRenderingMode(.alwaysTemplate), initals: "DL")
+            return Avatar(image: #imageLiteral(resourceName: "ic_people_36pt").withRenderingMode(.alwaysTemplate), initials: "DL")
         case steven:
-            return Avatar(initals: "S")
+            return Avatar(initials: "S")
         case jobs:
-            return Avatar(image: #imageLiteral(resourceName: "ic_people_36pt").withRenderingMode(.alwaysTemplate), initals: "SJ")
+            return Avatar(image: #imageLiteral(resourceName: "ic_people_36pt").withRenderingMode(.alwaysTemplate), initials: "SJ")
         case cook:
             return Avatar(image: #imageLiteral(resourceName: "ic_people_36pt").withRenderingMode(.alwaysTemplate))
         default: