From 02409dcaf180f0401897d5e791adbceeefd924c6 Mon Sep 17 00:00:00 2001 From: Edward Jiang Date: Mon, 27 Nov 2017 22:33:20 -0800 Subject: [PATCH] Fixed zero size login button (#212) --- source/UberCore/Authentication/LoginButton.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/source/UberCore/Authentication/LoginButton.swift b/source/UberCore/Authentication/LoginButton.swift index 60e766b3..7e34dc2e 100644 --- a/source/UberCore/Authentication/LoginButton.swift +++ b/source/UberCore/Authentication/LoginButton.swift @@ -126,6 +126,7 @@ import UIKit self.delegate?.loginButton(self, didCompleteLoginWithToken: token, error: error) self.refreshContent() } + sizeToFit() } /**