Commit 045ca6f43851352d257c226723bd9146ff49cab7
1 parent
dc7f335d
1 修复用户开始运动后,点击返回按钮,赛事详情页按钮无法及时刷新问题
Showing
4 changed files
with
2 additions
and
8 deletions
app/src/main/AndroidManifest.xml
| ... | ... | @@ -13,9 +13,7 @@ |
| 13 | 13 | android:roundIcon="@mipmap/ic_launcher_round" |
| 14 | 14 | android:supportsRtl="true" |
| 15 | 15 | android:theme="@style/AppTheme"> |
| 16 | - <activity | |
| 17 | - android:name=".MainActivity" | |
| 18 | - android:theme="@style/Theme.AppCompat.Light.NoActionBar"> | |
| 16 | + <activity android:name=".MainActivity"> | |
| 19 | 17 | <intent-filter> |
| 20 | 18 | <action android:name="android.intent.action.MAIN" /> |
| 21 | 19 | ... | ... |
config.gradle
moudle_pedometer/src/main/java/com/cnlive/moudle/collectionTrace/ui/activity/RaceListActivity.java
| ... | ... | @@ -37,8 +37,6 @@ public class RaceListActivity extends AppCompatActivity { |
| 37 | 37 | CommonInfo.setUserId(this,getIntent().getStringExtra("userId")); |
| 38 | 38 | CommonInfo.setUserNickName(this,getIntent().getStringExtra("userName")); |
| 39 | 39 | CommonInfo.setUserIcon(this,getIntent().getStringExtra("userIcon")); |
| 40 | - }else { | |
| 41 | - CommonInfo.setUserId(this, "10513196"); | |
| 42 | 40 | } |
| 43 | 41 | getSupportFragmentManager().beginTransaction().replace(R.id.race_container,new RaceListFragment()).commit(); |
| 44 | 42 | } | ... | ... |
moudle_pedometer/src/main/java/com/cnlive/moudle/pedometer/ui/activity/RunLineActivity.java
| ... | ... | @@ -39,8 +39,6 @@ public class RunLineActivity extends AppCompatActivity { |
| 39 | 39 | CommonInfo.setUserNickName(this,getIntent().getStringExtra("userName")); |
| 40 | 40 | CommonInfo.setUserIcon(this,getIntent().getStringExtra("userIcon")); |
| 41 | 41 | CommonInfo.setUserPhone(this,getIntent().getStringExtra("userPhone")); |
| 42 | - }else { | |
| 43 | - CommonInfo.setUserId(this, "10513196"); | |
| 44 | 42 | } |
| 45 | 43 | getSupportFragmentManager().beginTransaction().replace(R.id.run_line_container, new RunLineFragment()).commit(); |
| 46 | 44 | } | ... | ... |