Showing
1 changed file
with
1 additions
and
0 deletions
... | @@ -85,6 +85,7 @@ public class SplashActivity extends AppCompatActivity { | ... | @@ -85,6 +85,7 @@ public class SplashActivity extends AppCompatActivity { |
85 | SharedPreferences pref = getSharedPreferences("gateway", MODE_PRIVATE); | 85 | SharedPreferences pref = getSharedPreferences("gateway", MODE_PRIVATE); |
86 | SharedPreferences.Editor editor = pref.edit(); | 86 | SharedPreferences.Editor editor = pref.edit(); |
87 | editor.putString("accessToken", auth.getAccessToken()); | 87 | editor.putString("accessToken", auth.getAccessToken()); |
88 | + Api.setAccessToken(auth.getAccessToken()); | ||
88 | editor.commit(); | 89 | editor.commit(); |
89 | startActivity(new Intent(SplashActivity.this, MainActivity.class)); | 90 | startActivity(new Intent(SplashActivity.this, MainActivity.class)); |
90 | } else { | 91 | } else { | ... | ... |
-
Please register or login to post a comment