taverna-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From saketkumar95 <...@git.apache.org>
Subject [GitHub] incubator-taverna-mobile pull request #65: Fix: Replace usage dialogue box w...
Date Thu, 01 Mar 2018 09:30:39 GMT
Github user saketkumar95 commented on a diff in the pull request:

    https://github.com/apache/incubator-taverna-mobile/pull/65#discussion_r171501140
  
    --- Diff: app/src/main/java/org/apache/taverna/mobile/ui/DashboardActivity.java ---
    @@ -163,10 +163,8 @@ public boolean onNavigationItemSelected(MenuItem menuItem) {
     
                                 case R.id.nav_usage:
     
    -                                dialog.setCanceledOnTouchOutside(true);
    -                                dialog.setTitle(getString(R.string.title_nav_usage));
    -                                dialog.setContentView(R.layout.usage_layout);
    -                                dialog.show();
    +                                Intent i = new Intent(DashboardActivity.this, UsageActivity.class);
    --- End diff --
    
    use `intent` instead of `i`


---

Mime
View raw message