mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-20 20:59:00 +00:00
remove unnessecary else braces to make code more readable
This commit is contained in:
parent
10a95ee9af
commit
5387da77b3
1 changed files with 2 additions and 4 deletions
|
|
@ -881,10 +881,8 @@ public class MainActivity extends BaseActivity implements Action1<Throwable>, Ha
|
|||
if(fragment!= null && fragment.customTitle() != null){
|
||||
getSupportActionBar().setTitle(fragment.customTitle());
|
||||
}
|
||||
else{
|
||||
if(user != null && user.getProfile() != null){
|
||||
getSupportActionBar().setTitle(user.getProfile().getName());
|
||||
}
|
||||
else if(user != null && user.getProfile() != null){
|
||||
getSupportActionBar().setTitle(user.getProfile().getName());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue