aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/layout/FragmentImage.java
diff options
context:
space:
mode:
authorLibravatar Renard 2016-04-14 17:16:18 -0300
committerLibravatar Renard 2016-04-14 17:16:18 -0300
commit00cfbfc1cd3bec581fb81722826407d07ad7d83c (patch)
tree409dc15a9795cd5093bb223ca895b0f746e0d2a2 /app/src/main/java/layout/FragmentImage.java
parentbe970f1212a1e07a90d6dadc4760db1a70cde762 (diff)
downloadBaiApp-00cfbfc1cd3bec581fb81722826407d07ad7d83c.tar.gz
BaiApp-00cfbfc1cd3bec581fb81722826407d07ad7d83c.tar.xz
BaiApp-00cfbfc1cd3bec581fb81722826407d07ad7d83c.zip
Test
Diffstat (limited to 'app/src/main/java/layout/FragmentImage.java')
-rw-r--r--app/src/main/java/layout/FragmentImage.java2
1 files changed, 1 insertions, 1 deletions
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{