mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-07-13 17:51:57 +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);
|
drawer.setSelection(MainDrawerBuilder.SIDEBAR_PURCHASE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onStart() {
|
||||||
|
super.onStart();
|
||||||
|
mAPIHelper.retrieveUser(new HabitRPGUserCallback(this));
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean onCreateOptionsMenu(Menu menu) {
|
public boolean onCreateOptionsMenu(Menu menu) {
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue