Compilation fix

This commit is contained in:
khanhduytran0 2020-12-08 12:16:56 +07:00
parent 88cf0d3cad
commit f59959c3e6
2 changed files with 4 additions and 4 deletions

View File

@ -80,14 +80,14 @@ public class MCLauncherActivity extends BaseLauncherActivity
viewPager.setAdapter(viewPageAdapter);
tabLayout.setupWithViewPager(viewPager);
tvUsernameView = (TextView) findViewById(R.id.launcherMainUsernameView);
tvUsernameView = (TextView) findViewById(R.id.launchermain_text_welcome);
mTextVersion = (TextView) findViewById(R.id.launcherMainVersionView);
try {
profilePath = PojavProfile.getCurrentProfilePath(this);
mProfile = PojavProfile.getCurrentProfileContent(this);
tvUsernameView.setText(mProfile.getUsername());
tvUsernameView.setText(getString(R.string.main_welcome, mProfile.getUsername()));
} catch(Exception e) {
//Tools.throwError(this, e);
e.printStackTrace();

View File

@ -85,14 +85,14 @@ public class PojavLauncherActivity extends BaseLauncherActivity
tabLayout.setupWithViewPager(viewPager);
tabLayout.setLastTabAsBottom();
tvUsernameView = (TextView) findViewById(R.id.launcherMainUsernameView);
tvUsernameView = (TextView) findViewById(R.id.launchermain_text_welcome);
mTextVersion = (TextView) findViewById(R.id.launcherMainVersionView);
try {
profilePath = PojavProfile.getCurrentProfilePath(this);
mProfile = PojavProfile.getCurrentProfileContent(this);
tvUsernameView.setText(mProfile.getUsername());
tvUsernameView.setText(getString(R.string.main_welcome, mProfile.getUsername()));
} catch(Exception e) {
//Tools.throwError(this, e);
e.printStackTrace();