e 6 年之前
父节点
当前提交
67eb74d60c

+ 6 - 3
app/src/main/java/com/kuxuan/moneynote/ui/activitys/MainActivity.java

@@ -286,9 +286,12 @@ public class MainActivity extends BaseFragmentActivity {
286 286
 
287 287
     @Subscribe(threadMode = ThreadMode.MAIN)
288 288
     public void onMessageEvent(SkinEvent skinBean) {
289
-        navigationLayout.refresh(0);
290
-        navigationLayout.setCenter_CIColor();
291
-    }
289
+
290
+        if(skinBean.getCode()!=1000) {
291
+            navigationLayout.refresh(0);
292
+            navigationLayout.setCenter_CIColor();
293
+        }
294
+        }
292 295
 
293 296
 
294 297
     private void

+ 0 - 6
app/src/main/java/com/kuxuan/moneynote/ui/fragments/details/DetialPresent.java

@@ -371,13 +371,7 @@ public class DetialPresent extends DetialContract.DetialPresent implements View.
371 371
             @Override
372 372
             public void onProgress(int currentLength) {
373 373
 
374
-
375 374
                 if(size==2){
376
-                    try {
377
-                        Thread.sleep(10);
378
-                    } catch (InterruptedException e) {
379
-                        e.printStackTrace();
380
-                    }
381 375
                     view.showDownLoad(res,size,position,background,progressBar,currentLength);
382 376
                 }
383 377
 

+ 4 - 2
app/src/main/java/com/kuxuan/moneynote/ui/fragments/find/FindFragment.java

@@ -138,8 +138,10 @@ public class FindFragment extends BaseFragment {
138 138
 
139 139
     @Subscribe(threadMode = ThreadMode.MAIN)
140 140
     public void onMessageEvent(SkinEvent skinBean) {
141
-        changeSkinData();
142
-    }
141
+        if(skinBean.getCode()!=1000) {
142
+            changeSkinData();
143
+        }
144
+        }
143 145
 
144 146
     @Override
145 147
     public void onDestroy() {

+ 4 - 2
app/src/main/java/com/kuxuan/moneynote/ui/fragments/reportsingle/ReportSingleFragment.java

@@ -267,8 +267,10 @@ public class ReportSingleFragment extends MVPFragment<ReportSinglePresent, Repor
267 267
 
268 268
     @Subscribe(threadMode = ThreadMode.MAIN)
269 269
     public void onMessageEvent(SkinEvent skinBean) {
270
-        changeSkinData();
271
-    }
270
+       if(skinBean.getCode()!=1000) {
271
+           changeSkinData();
272
+       }
273
+       }
272 274
 
273 275
     private void checkNet() {
274 276
 //        boolean networkAvailable = NetWorkUtil.isNetworkAvailable(getActivity());