From 033fcc557343c2424d9c5206481a5adc4e3ad830 Mon Sep 17 00:00:00 2001 From: Kizito Nwose Date: Sun, 2 Jun 2019 20:04:28 +0100 Subject: [PATCH] Use font property in the sample project. --- .../CountryPickerViewDemo/DemoViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CountryPickerViewDemo/CountryPickerViewDemo/DemoViewController.swift b/CountryPickerViewDemo/CountryPickerViewDemo/DemoViewController.swift index 3adfc5d..9af5d64 100644 --- a/CountryPickerViewDemo/CountryPickerViewDemo/DemoViewController.swift +++ b/CountryPickerViewDemo/CountryPickerViewDemo/DemoViewController.swift @@ -44,7 +44,7 @@ class DemoViewController: UITableViewController { } cpvInternal.delegate = self - cpvMain.countryDetailsLabel.font = UIFont.systemFont(ofSize: 20) + cpvMain.font = UIFont.systemFont(ofSize: 20) [showPhoneCodeInView, showCountryCodeInView, showPreferredCountries, showOnlyPreferredCountries].forEach {