Show Sharing Status for Blogs

This refactors the current SharingStatusActivity
so it can be used for forums and blogs.
This commit is contained in:
Torsten Grote
2016-08-02 17:23:11 -03:00
parent e4f5d8e6e7
commit a3b2358164
3 changed files with 43 additions and 6 deletions

View File

@@ -236,6 +236,7 @@ public class ForumActivity extends BriarActivity implements
Intent i3 = new Intent(this, SharingStatusActivity.class);
i3.setFlags(FLAG_ACTIVITY_CLEAR_TOP | FLAG_ACTIVITY_SINGLE_TOP);
i3.putExtra(GROUP_ID, groupId.getBytes());
i3.putExtra(SHAREABLE, FORUM);
ActivityCompat.startActivity(this, i3, options.toBundle());
return true;
case R.id.action_forum_delete: