lhm před 3 roky
rodič
revize
247e67dba8

+ 1 - 1
app/src/main/java/com/emato/ich/utils/TimeOutUtils.java

@@ -45,9 +45,9 @@ public class TimeOutUtils {
             public void onFinish() {
                 int fragmentAction = getFragmentAction(fragment);
                 if (fragmentAction != 0) {
+                    NavHostFragment.findNavController(fragment).navigate(fragmentAction);
                     // 清空session和页面传值
                     LocalStorage.getInstance().cleanSession(mainActivity);
-                    NavHostFragment.findNavController(fragment).navigate(fragmentAction);
                 }
             }
         };