diff options
author | quails4Eva <dpetchey@gmail.com> | 2024-03-03 19:17:22 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-03 20:17:22 +0100 |
commit | 60f3d77eb2d41d49ad6fd999c39f5792f804a17e (patch) | |
tree | 63482639471c4a6c3592663477519af9fdcd6ec0 /event/src/main | |
parent | 3c77d43e76535465ef5c9976835d42439797fd8f (diff) | |
download | AntennaPod-60f3d77eb2d41d49ad6fd999c39f5792f804a17e.zip |
Skip silence setting per feed (#6910)
Diffstat (limited to 'event/src/main')
-rw-r--r-- | event/src/main/java/de/danoeh/antennapod/event/settings/SpeedPresetChangedEvent.java | 10 |
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; } |