From 4acb3d3e7c8f974ebf324fa6aea138258e24f572 Mon Sep 17 00:00:00 2001 From: Devan Buggay Date: Tue, 23 Sep 2025 12:53:43 -0700 Subject: [PATCH] Remove "Background" from perf overlay title (#53903) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/53903 Removes unnecessary "background" from title, narrowing the width of the overlay. {F1982191268} Changelog: [Internal] Reviewed By: rubennorte Differential Revision: D83036209 fbshipit-source-id: 0a11f38e544e3d667a9a1fb957e351716f625f3e --- .../react/devsupport/perfmonitor/PerfMonitorOverlayView.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/devsupport/perfmonitor/PerfMonitorOverlayView.kt b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/devsupport/perfmonitor/PerfMonitorOverlayView.kt index f516e150676..702ebea6c4b 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/devsupport/perfmonitor/PerfMonitorOverlayView.kt +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/devsupport/perfmonitor/PerfMonitorOverlayView.kt @@ -55,11 +55,11 @@ internal class PerfMonitorOverlayView( if (state == TracingState.ENABLEDINBACKGROUNDMODE) { (statusIndicator.background as GradientDrawable).setColor(Color.RED) - statusLabel.text = "Background Profiling Active" + statusLabel.text = "Profiling Active" tooltipLabel.text = "Press ☰ to open" } else { (statusIndicator.background as GradientDrawable).setColor(Color.GRAY) - statusLabel.text = "Background Profiling Stopped" + statusLabel.text = "Profiling Stopped" tooltipLabel.text = "Press ☰ to restart" } dialog.show()