mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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:
committed by
Facebook GitHub Bot
parent
f4b6131850
commit
4acb3d3e7c
+2
-2
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user