From 0ed8d06016fbb5ef35635490116c41fb49de0c10 Mon Sep 17 00:00:00 2001 From: zchu Date: Mon, 4 Sep 2017 15:11:57 +0800 Subject: [PATCH] Update NavigationBarChangeListener --- .../com/lzy/imagepicker/util/NavigationBarChangeListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imagepicker/src/main/java/com/lzy/imagepicker/util/NavigationBarChangeListener.java b/imagepicker/src/main/java/com/lzy/imagepicker/util/NavigationBarChangeListener.java index 2e2d279..83d6e07 100644 --- a/imagepicker/src/main/java/com/lzy/imagepicker/util/NavigationBarChangeListener.java +++ b/imagepicker/src/main/java/com/lzy/imagepicker/util/NavigationBarChangeListener.java @@ -55,7 +55,7 @@ public void onGlobalLayout() { Utils.getNavigationBarHeight(rootView.getContext()) : 0; if (heightDiff >= navigationBarHeight && heightDiff < navigationBarHeight * 2) { if (!isShowNavigationBar && listener != null) { - listener.onNavigationBarShow(orientation, navigationBarHeight); + listener.onNavigationBarShow(orientation, heightDiff); } isShowNavigationBar = true; } else {