diff --git a/app/src/main/java/com/mugames/vidsnap/network/Response.kt b/app/src/main/java/com/mugames/vidsnap/network/Response.kt index 2eb4cd9..b112664 100644 --- a/app/src/main/java/com/mugames/vidsnap/network/Response.kt +++ b/app/src/main/java/com/mugames/vidsnap/network/Response.kt @@ -1,4 +1,19 @@ package com.mugames.vidsnap.network +/* + * This file is part of VidSnap. + * + * VidSnap is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * VidSnap is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * You should have received a copy of the GNU General Public License + * along with VidSnap. If not, see . + * + */ class Response { var exception: Throwable? = null diff --git a/app/src/main/java/com/mugames/vidsnap/ui/fragments/VideoFragment.java b/app/src/main/java/com/mugames/vidsnap/ui/fragments/VideoFragment.java index 480d827..382e5cf 100644 --- a/app/src/main/java/com/mugames/vidsnap/ui/fragments/VideoFragment.java +++ b/app/src/main/java/com/mugames/vidsnap/ui/fragments/VideoFragment.java @@ -376,6 +376,7 @@ public void actionForMOREFile() { details.videoSize = viewModel.getFormats().videoSizes.get(index); details.videoURL = viewModel.getFormats().mainFileURLs.get(index); viewModel.getFormats().title = removeStuffFromName(viewModel.getFormats().title); + details.fileMime = viewModel.getFormats().fileMime.get(index); FutureTarget target = Glide.with(requireContext()) .asBitmap()