panhui 5 anni fa
parent
commit
a5936922d5
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      screens/Order/OrderDetailScreen.jsx

+ 1 - 1
screens/Order/OrderDetailScreen.jsx

@@ -132,7 +132,7 @@ export default function OrderScreen({ navigation }) {
           }
           }
         }
         }
 
 
-        if (!finish) {
+        if (maxMove._value != 0) {
           if (maxMove._value - y < 200) {
           if (maxMove._value - y < 200) {
             setbackgorundColor(
             setbackgorundColor(
               `rgba(255, 194, 28,${Math.ceil(
               `rgba(255, 194, 28,${Math.ceil(