Skip to content

Commit 0a4eb24

Browse files
committed
Fix android SPY isDisplayed property
1 parent 264312f commit 0a4eb24

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

android/src/org/testar/monkey/alayer/android/spy_visualization/TreeVisualizationAndroid.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ private void displayWidgetInfo(Widget nodeWidget) {
389389
infoPaneRight.add(new JLabel(String.valueOf(selectedWidget))).setFont(new Font("SansSerif", Font.PLAIN, fontSize));
390390

391391
infoPaneLeft.add(new JLabel("Displayed: ")).setFont(new Font("SansSerif", Font.BOLD, fontSize));
392-
infoPaneRight.add(new JLabel(String.valueOf(selectedWidget))).setFont(new Font("SansSerif", Font.PLAIN, fontSize));
392+
infoPaneRight.add(new JLabel(String.valueOf(displayedWidget))).setFont(new Font("SansSerif", Font.PLAIN, fontSize));
393393

394394
infoPaneLeft.add(new JLabel("Current Activity: ")).setFont(new Font("SansSerif", Font.BOLD, fontSize));
395395
infoPaneRight.add(new JLabel(String.valueOf(activityWidget))).setFont(new Font("SansSerif", Font.PLAIN, fontSize));

0 commit comments

Comments
 (0)