summaryrefslogtreecommitdiff
path: root/event/src/main/java/de
diff options
context:
space:
mode:
authorquails4Eva <dpetchey@gmail.com>2024-03-03 19:17:22 +0000
committerGitHub <noreply@github.com>2024-03-03 20:17:22 +0100
commit60f3d77eb2d41d49ad6fd999c39f5792f804a17e (patch)
tree63482639471c4a6c3592663477519af9fdcd6ec0 /event/src/main/java/de
parent3c77d43e76535465ef5c9976835d42439797fd8f (diff)
downloadAntennaPod-60f3d77eb2d41d49ad6fd999c39f5792f804a17e.zip
Skip silence setting per feed (#6910)
Diffstat (limited to 'event/src/main/java/de')
-rw-r--r--event/src/main/java/de/danoeh/antennapod/event/settings/SpeedPresetChangedEvent.java10
1 files changed, 9 insertions, 1 deletions
diff --git a/event/src/main/java/de/danoeh/antennapod/event/settings/SpeedPresetChangedEvent.java b/event/src/main/java/de/danoeh/antennapod/event/settings/SpeedPresetChangedEvent.java
index 6ca8a1290..bc7c46785 100644
--- a/event/src/main/java/de/danoeh/antennapod/event/settings/SpeedPresetChangedEvent.java
+++ b/event/src/main/java/de/danoeh/antennapod/event/settings/SpeedPresetChangedEvent.java
@@ -1,18 +1,26 @@
package de.danoeh.antennapod.event.settings;
+import de.danoeh.antennapod.model.feed.FeedPreferences;
+
public class SpeedPresetChangedEvent {
private final float speed;
+ private final FeedPreferences.SkipSilence skipSilence;
private final long feedId;
- public SpeedPresetChangedEvent(float speed, long feedId) {
+ public SpeedPresetChangedEvent(float speed, long feedId, FeedPreferences.SkipSilence skipSilence) {
this.speed = speed;
this.feedId = feedId;
+ this.skipSilence = skipSilence;
}
public float getSpeed() {
return speed;
}
+ public FeedPreferences.SkipSilence getSkipSilence() {
+ return skipSilence;
+ }
+
public long getFeedId() {
return feedId;
}