mirror of
https://github.com/gsantner/dandelion
synced 2024-11-16 09:22:08 +01:00
Added missing break
Update title when showing contacts Update manage-tags and reports title
This commit is contained in:
parent
851b223733
commit
572b5f525b
2 changed files with 7 additions and 0 deletions
|
@ -996,6 +996,7 @@ public class MainActivity extends ThemedActivity
|
|||
snackbarNoInternet.show();
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
case R.id.nav_activities: {
|
||||
if (WebHelper.isOnline(MainActivity.this)) {
|
||||
|
|
|
@ -74,8 +74,14 @@ public class UpdateTitleReceiver extends BroadcastReceiver {
|
|||
setTitle(R.string.nav_mentions);
|
||||
} else if (subUrl.startsWith(DiasporaUrlHelper.SUBURL_PUBLIC)) {
|
||||
setTitle(R.string.public_);
|
||||
} else if (urls.getManageContactsUrl().equals(url)) {
|
||||
setTitle(R.string.contacts);
|
||||
} else if (urls.getManageTagsUrl().equals(url)) {
|
||||
setTitle(R.string.pref_title__manage_tags);
|
||||
} else if (urls.isAspectUrl(url)) {
|
||||
setTitle(urls.getAspectNameFromUrl(url, app));
|
||||
} else if (urls.getReportsUrl().equals(url)) {
|
||||
setTitle(R.string.nav_reports);
|
||||
}
|
||||
} else {
|
||||
AppLog.spam(this, "onReceive()- Invalid url: " + url);
|
||||
|
|
Loading…
Reference in a new issue