diff --git a/shapednavigationview/src/main/java/softpro/naseemali/ShapedNavigationView.java b/shapednavigationview/src/main/java/softpro/naseemali/ShapedNavigationView.java index 2214573..cbfa927 100644 --- a/shapednavigationview/src/main/java/softpro/naseemali/ShapedNavigationView.java +++ b/shapednavigationview/src/main/java/softpro/naseemali/ShapedNavigationView.java @@ -115,7 +115,7 @@ private Path createClipPath(int type) { width=getMeasuredWidth(); height=getMeasuredHeight(); boolean rtl=getResources().getBoolean(R.bool.is_right_to_left); - if(rtl==false) { + if(rtl) { switch (type) { case ShapedViewSettings.ARC_CONVEX: path.moveTo(width, 0);