mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-20 04:39:04 +00:00
update user on launch. Fixes #83
This commit is contained in:
parent
03a1bdcafa
commit
b7ad6c086e
1 changed files with 6 additions and 0 deletions
|
|
@ -158,6 +158,12 @@ public class MainActivity extends InstabugAppCompatActivity implements HabitRPGU
|
|||
drawer.setSelection(MainDrawerBuilder.SIDEBAR_PURCHASE);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onStart() {
|
||||
super.onStart();
|
||||
mAPIHelper.retrieveUser(new HabitRPGUserCallback(this));
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onCreateOptionsMenu(Menu menu) {
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Reference in a new issue