Merge pull request #1091 from TebbeUbben/dev

Close navigation drawer on click
This commit is contained in:
AdrianLxM 2018-06-09 13:32:05 +02:00 committed by GitHub
commit e1cc07ca11
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -209,6 +209,7 @@ public class MainActivity extends AppCompatActivity {
Intent intent = new Intent(this, SingleFragmentActivity.class);
intent.putExtra("plugin", MainApp.getPluginsList().indexOf(p));
startActivity(intent);
((DrawerLayout) findViewById(R.id.drawer_layout)).closeDrawers();
return true;
});
}