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
This commit is contained in:
Devan Buggay
2025-09-23 12:53:43 -07:00
committed by Facebook GitHub Bot
parent f4b6131850
commit 4acb3d3e7c
@@ -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()