Guy Carmeli před 8 roky
rodič
revize
5d5121e6b7

+ 1
- 1
android/app/src/main/java/com/reactnativenavigation/utils/ViewUtils.java Zobrazit soubor

@@ -12,7 +12,7 @@ import com.reactnativenavigation.NavigationApplication;
12 12
 import java.util.concurrent.atomic.AtomicInteger;
13 13
 
14 14
 public class ViewUtils {
15
-    private static final AtomicInteger viewId = new AtomicInteger();
15
+    private static final AtomicInteger viewId = new AtomicInteger(1);
16 16
 
17 17
     public static void runOnPreDraw(final View view, final Runnable task) {
18 18
         view.getViewTreeObserver().addOnPreDrawListener(new ViewTreeObserver.OnPreDrawListener() {