Преглед на файлове

Remove setContentDescription calls (#3984) (#5196)

Awn преди 5 години
родител
ревизия
7438904cbc

+ 0
- 1
lib/android/app/src/main/java/com/reactnativenavigation/views/BottomTabs.java Целия файл

@@ -27,7 +27,6 @@ public class BottomTabs extends AHBottomNavigation {
27 27
     public BottomTabs(Context context) {
28 28
         super(context);
29 29
         setId(CompatUtils.generateViewId());
30
-        setContentDescription("BottomTabs");
31 30
     }
32 31
 
33 32
     @Override

+ 0
- 1
lib/android/app/src/main/java/com/reactnativenavigation/views/ComponentLayout.java Целия файл

@@ -31,7 +31,6 @@ public class ComponentLayout extends FrameLayout implements ReactComponent, Titl
31 31
 		super(context);
32 32
 		this.reactView = reactView;
33 33
         addView(reactView.asView(), MATCH_PARENT, MATCH_PARENT);
34
-        setContentDescription("ComponentLayout");
35 34
         touchDelegate = new OverlayTouchDelegate(reactView);
36 35
     }
37 36
 

+ 0
- 1
lib/android/app/src/main/java/com/reactnativenavigation/views/ExternalComponentLayout.java Целия файл

@@ -13,7 +13,6 @@ import static android.widget.RelativeLayout.BELOW;
13 13
 public class ExternalComponentLayout extends FrameLayout implements Component {
14 14
     public ExternalComponentLayout(Context context) {
15 15
 		super(context);
16
-        setContentDescription("ExternalComponentLayout");
17 16
     }
18 17
 
19 18
     @Override

+ 0
- 1
lib/android/app/src/main/java/com/reactnativenavigation/views/StackLayout.java Целия файл

@@ -18,7 +18,6 @@ public class StackLayout extends RelativeLayout implements Component {
18 18
         super(context);
19 19
         this.stackId = stackId;
20 20
         createLayout(topBarController);
21
-        setContentDescription("StackLayout");
22 21
     }
23 22
 
24 23
     private void createLayout(TopBarController topBarController) {

+ 0
- 1
lib/android/app/src/main/java/com/reactnativenavigation/views/titlebar/TitleBar.java Целия файл

@@ -40,7 +40,6 @@ public class TitleBar extends Toolbar {
40 40
     public TitleBar(Context context) {
41 41
         super(context);
42 42
         getMenu();
43
-        setContentDescription("titleBar");
44 43
     }
45 44
 
46 45
     @Override

+ 0
- 1
lib/android/app/src/main/java/com/reactnativenavigation/views/topbar/TopBar.java Целия файл

@@ -76,7 +76,6 @@ public class TopBar extends AppBarLayout implements ScrollEventListener.ScrollAw
76 76
         root.addView(content);
77 77
         root.addView(border);
78 78
         addView(root, MATCH_PARENT, WRAP_CONTENT);
79
-        if (BuildConfig.DEBUG) setContentDescription("TopBar");
80 79
     }
81 80
 
82 81
     private LinearLayout createContentLayout() {