aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-10-13 15:44:50 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-10-13 15:44:50 +0000
commit86a3614fd78cc88a0279cca9f897276ccb29c232 (patch)
treeb3c019246b9276260a478783febd6617328467e3 /app/src/main/java
parentb8783c2488f0c5e1a6aeb75477c8fd104607f6b0 (diff)
downloadinfinity-for-reddit-86a3614fd78cc88a0279cca9f897276ccb29c232.tar
infinity-for-reddit-86a3614fd78cc88a0279cca9f897276ccb29c232.tar.gz
infinity-for-reddit-86a3614fd78cc88a0279cca9f897276ccb29c232.tar.bz2
infinity-for-reddit-86a3614fd78cc88a0279cca9f897276ccb29c232.tar.lz
infinity-for-reddit-86a3614fd78cc88a0279cca9f897276ccb29c232.tar.xz
infinity-for-reddit-86a3614fd78cc88a0279cca9f897276ccb29c232.tar.zst
infinity-for-reddit-86a3614fd78cc88a0279cca9f897276ccb29c232.zip
Add some translations. Fix TabLayout Title in ViewSubredditDetailActivity.
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/Activity/ViewSubredditDetailActivity.java1
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/Service/DownloadRedditVideoService.java1
2 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/Activity/ViewSubredditDetailActivity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/Activity/ViewSubredditDetailActivity.java
index f53bd244..5d9ddd72 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/Activity/ViewSubredditDetailActivity.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/Activity/ViewSubredditDetailActivity.java
@@ -833,6 +833,7 @@ public class ViewSubredditDetailActivity extends BaseActivity implements SortTyp
switch (position) {
case 0:
tab.setText(R.string.posts);
+ break;
case 1:
tab.setText(R.string.sidebar);
}
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/Service/DownloadRedditVideoService.java b/app/src/main/java/ml/docilealligator/infinityforreddit/Service/DownloadRedditVideoService.java
index 70c24757..63b0e9ff 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/Service/DownloadRedditVideoService.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/Service/DownloadRedditVideoService.java
@@ -524,7 +524,6 @@ public class DownloadRedditVideoService extends Service {
audioBufferInfo.flags = audioExtractor.getSampleFlags();
muxer.writeSampleData(audioTrack, audioBuf, audioBufferInfo);
audioExtractor.advance();
-
}
}