Skip to content

Commit 4acb3d3

Browse files
sbuggayfacebook-github-bot
authored andcommitted
Remove "Background" from perf overlay title (#53903)
Summary: Pull Request resolved: #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
1 parent f4b6131 commit 4acb3d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/devsupport/perfmonitor/PerfMonitorOverlayView.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ internal class PerfMonitorOverlayView(
5555

5656
if (state == TracingState.ENABLEDINBACKGROUNDMODE) {
5757
(statusIndicator.background as GradientDrawable).setColor(Color.RED)
58-
statusLabel.text = "Background Profiling Active"
58+
statusLabel.text = "Profiling Active"
5959
tooltipLabel.text = "Press ☰ to open"
6060
} else {
6161
(statusIndicator.background as GradientDrawable).setColor(Color.GRAY)
62-
statusLabel.text = "Background Profiling Stopped"
62+
statusLabel.text = "Profiling Stopped"
6363
tooltipLabel.text = "Press ☰ to restart"
6464
}
6565
dialog.show()

0 commit comments

Comments
 (0)