From 30f13812add159c1237f7613591fa994e3d026b8 Mon Sep 17 00:00:00 2001 From: Jacob Parker Date: Wed, 20 Feb 2019 22:11:11 -0800 Subject: [PATCH] Make JS loading progress use tabular numbers Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/20076 Differential Revision: D14162853 Pulled By: cpojer fbshipit-source-id: a07b80319e23f8969887522b8761a560e8a3a98e --- React/DevSupport/RCTDevLoadingView.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/React/DevSupport/RCTDevLoadingView.m b/React/DevSupport/RCTDevLoadingView.m index 08ae65b0c..9d75cb7c5 100644 --- a/React/DevSupport/RCTDevLoadingView.m +++ b/React/DevSupport/RCTDevLoadingView.m @@ -90,7 +90,8 @@ RCT_EXPORT_METHOD(showMessage:(NSString *)message color:(UIColor *)color backgro // set a root VC so rotation is supported self->_window.rootViewController = [UIViewController new]; - self->_label.font = [UIFont systemFontOfSize:12.0]; + self->_label.font = [UIFont monospacedDigitSystemFontOfSize:12.0 + weight:UIFontWeightRegular]; self->_label.textAlignment = NSTextAlignmentCenter; }