aboutsummaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
authorDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2024-09-17 14:06:21 +0000
committerDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2024-09-17 14:06:21 +0000
commitaac0de2393bad37a56eabc5ebb4cb839bcdbe2e1 (patch)
treefa5dee020b6d83f78cbaeb301f56cb396cfef32a /app/src
parentc15f117810eb2be5b93fcd06b3d018060520e00a (diff)
downloadinfinity-for-reddit-aac0de2393bad37a56eabc5ebb4cb839bcdbe2e1.tar
infinity-for-reddit-aac0de2393bad37a56eabc5ebb4cb839bcdbe2e1.tar.gz
infinity-for-reddit-aac0de2393bad37a56eabc5ebb4cb839bcdbe2e1.tar.bz2
infinity-for-reddit-aac0de2393bad37a56eabc5ebb4cb839bcdbe2e1.tar.lz
infinity-for-reddit-aac0de2393bad37a56eabc5ebb4cb839bcdbe2e1.tar.xz
infinity-for-reddit-aac0de2393bad37a56eabc5ebb4cb839bcdbe2e1.tar.zst
infinity-for-reddit-aac0de2393bad37a56eabc5ebb4cb839bcdbe2e1.zip
Show a toast when downloading media in PostOptionsBottomSheetFragment.
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/bottomsheetfragments/PostOptionsBottomSheetFragment.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/bottomsheetfragments/PostOptionsBottomSheetFragment.java b/app/src/main/java/ml/docilealligator/infinityforreddit/bottomsheetfragments/PostOptionsBottomSheetFragment.java
index d10e0d5d..faeb2b3d 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/bottomsheetfragments/PostOptionsBottomSheetFragment.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/bottomsheetfragments/PostOptionsBottomSheetFragment.java
@@ -9,6 +9,7 @@ import android.os.PersistableBundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
+import android.widget.Toast;
import androidx.annotation.IntDef;
import androidx.annotation.NonNull;
@@ -98,6 +99,7 @@ public class PostOptionsBottomSheetFragment extends LandscapeExpandedRoundedBott
if (binding.downloadTextViewPostOptionsBottomSheetFragment.getVisibility() == View.VISIBLE) {
binding.downloadTextViewPostOptionsBottomSheetFragment.setOnClickListener(view -> {
+ Toast.makeText(mBaseActivity, R.string.download_started, Toast.LENGTH_SHORT).show();
if (mPost.getPostType() == Post.VIDEO_TYPE) {
if (!mPost.isRedgifs() && !mPost.isStreamable() && !mPost.isImgur()) {
PersistableBundle extras = new PersistableBundle();