code cleaning: remove switches used to know if the device is an iPhone X

- replace switches for detecting if the device is an iPhone X by using 
the hasnotch boolean of the UIdevice extension

Change-Id: Ic5a0386bb9d7273b05a53a460c0844f97db821b8
Reviewed-by: Kateryna Kostiuk<kateryna.kostiuk@savoirfairelinux.com>
2 files changed
tree: 60874bf0f4bcead93497bd41ec33d346d6d850c3
  1. Ring/
  2. .gitattributes
  3. .gitignore
  4. .gitreview
  5. compile-ios.sh
  6. COPYING