liujiangyao 8 lat temu
rodzic
commit
e5f5e9ad23

+ 2 - 1
app/src/main/java/com/sheep/jiuyan/samllsheep/SheepApp.java

@@ -13,6 +13,7 @@ import com.sheep.gamegroup.di.modules.NetModule;
 import com.sheep.gamegroup.model.entity.TaskEty;
 import com.sheep.gamegroup.util.ConnectAddress;
 import com.sheep.gamegroup.util.Jump2View;
+import com.sheep.gamegroup.util.MyDbManager;
 import com.sheep.gamegroup.util.UMConfigUtils;
 import com.sheep.jiuyan.samllsheep.utils.G;
 import com.tencent.bugly.Bugly;
@@ -32,7 +33,7 @@ public class SheepApp extends BaseApplication {
     private TaskEty taskEty;
 
     public TaskEty getTaskEty() {
-        return taskEty;
+        return MyDbManager.getInstance().dbFindTask();
     }
 
     public void setTaskEty(TaskEty taskEty) {