diff options
author | Renard | 2016-04-14 17:16:18 -0300 |
---|---|---|
committer | Renard | 2016-04-14 17:16:18 -0300 |
commit | 00cfbfc1cd3bec581fb81722826407d07ad7d83c (patch) | |
tree | 409dc15a9795cd5093bb223ca895b0f746e0d2a2 /app/src/main/java/layout | |
parent | be970f1212a1e07a90d6dadc4760db1a70cde762 (diff) | |
download | BaiApp-00cfbfc1cd3bec581fb81722826407d07ad7d83c.tar.gz BaiApp-00cfbfc1cd3bec581fb81722826407d07ad7d83c.tar.xz BaiApp-00cfbfc1cd3bec581fb81722826407d07ad7d83c.zip |
Test
Diffstat (limited to 'app/src/main/java/layout')
-rw-r--r-- | app/src/main/java/layout/FragmentBoardItemList.java | 2 | ||||
-rw-r--r-- | app/src/main/java/layout/FragmentImage.java | 2 |
2 files changed, 2 insertions, 2 deletions
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{ |