From 00cfbfc1cd3bec581fb81722826407d07ad7d83c Mon Sep 17 00:00:00 2001 From: Renard Date: Thu, 14 Apr 2016 17:16:18 -0300 Subject: Test --- app/src/main/java/layout/FragmentBoardItemList.java | 2 +- app/src/main/java/layout/FragmentImage.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'app/src/main/java/layout') diff --git a/app/src/main/java/layout/FragmentBoardItemList.java b/app/src/main/java/layout/FragmentBoardItemList.java index 6095a86..5bac6e9 100644 --- a/app/src/main/java/layout/FragmentBoardItemList.java +++ b/app/src/main/java/layout/FragmentBoardItemList.java @@ -315,7 +315,7 @@ public class FragmentBoardItemList extends Fragment { Intent in = new Intent(getActivity().getApplicationContext(), ResponseActivity.class); Bundle b = new Bundle(); b.putParcelable("theReply", boardItems.get(info.position)); - b.putParcelable("theBoard", currentBoard); + b.putBoolean("quoting", true); in.putExtras(b); getActivity().startActivity(in); break; diff --git a/app/src/main/java/layout/FragmentImage.java b/app/src/main/java/layout/FragmentImage.java index f337e5f..eb2471b 100644 --- a/app/src/main/java/layout/FragmentImage.java +++ b/app/src/main/java/layout/FragmentImage.java @@ -83,7 +83,7 @@ public class FragmentImage extends Fragment { gifView.setVisibility(View.GONE); RelativeLayout layoutOpenBrowser = (RelativeLayout) view.findViewById(R.id.layoutOpenBrowser); if (boardItemFile.file != null) { - if (!boardItemFile.file.endsWith(".webm") && !boardItemFile.file.endsWith(".swf")) { + if (!boardItemFile.file.endsWith(".webm") && !boardItemFile.file.endsWith(".swf") && !boardItemFile.file.endsWith(".ogg") && !boardItemFile.file.endsWith(".opus")) { layoutOpenBrowser.setVisibility(View.GONE); downloadFile(); }else{ -- cgit v1.2.1-18-gbd029