1
0
Fork 0
mirror of https://github.com/gsantner/dandelion synced 2025-12-15 00:31:11 +01:00

Readded profile item to navdrawer

This commit is contained in:
vanitasvitae 2016-08-10 17:47:21 +02:00
parent 16e1a4ea0c
commit 7e352c1aeb
2 changed files with 14 additions and 0 deletions

View file

@ -951,6 +951,15 @@ public class MainActivity extends AppCompatActivity
}
break;
case R.id.nav_profile: {
if (WebHelper.isOnline(MainActivity.this)) {
webView.loadUrl(urls.getProfileUrl());
} else {
snackbarNoInternet.show();
}
}
break;
case R.id.nav_followed_tags: {
if (WebHelper.isOnline(MainActivity.this)) {
WebHelper.showFollowedTagsList(webView, app);