We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 928ae2c commit b5fcebaCopy full SHA for b5fceba
packages/reactotron-app/App/Stores/UiStore.js
@@ -121,12 +121,22 @@ class UI {
121
this.isTimelineSearchVisible = false
122
}
123
124
+ @action
125
showTimelineSearch = () => {
126
this.isTimelineSearchVisible = false // hack to ensure the reaction on the timeline header works (sheesh.)
127
this.isTimelineSearchVisible = true
128
this.switchTab('timeline')
129
130
131
132
+ toggleTimelineSearch = () => {
133
+ if (this.isTimelineSearchVisible) {
134
+ this.hideTimelineSearch()
135
+ } else {
136
+ this.showTimelineSearch()
137
+ }
138
139
+
140
@action
141
switchTab = newTab => {
142
this.tab = newTab
0 commit comments