Fix for Dialogs crashing on iOS (#2866)

This commit is contained in:
Nathanael Anderson
2016-10-11 14:58:30 +03:00
committed by Hristo Hristov
parent b42cff63a2
commit a5273b74ed
@@ -54,6 +54,7 @@ export function getButtonColor(): color.Color {
var btn = new button.Button();
applySelectors(btn);
buttonColor = btn.color;
btn.onUnloaded();
}
return buttonColor;