aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2022-12-10 08:51:43 +0000
committerDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2022-12-10 08:51:43 +0000
commit0bcacafec36c27166a0e43d034279cf50224a1b6 (patch)
treeba703ede47e14d21f0e163f46bbe28b141919215
parent56ac5ad6d635aac3e6dfc378c23474924626d32c (diff)
downloadinfinity-for-reddit-0bcacafec36c27166a0e43d034279cf50224a1b6.tar
infinity-for-reddit-0bcacafec36c27166a0e43d034279cf50224a1b6.tar.gz
infinity-for-reddit-0bcacafec36c27166a0e43d034279cf50224a1b6.tar.bz2
infinity-for-reddit-0bcacafec36c27166a0e43d034279cf50224a1b6.tar.lz
infinity-for-reddit-0bcacafec36c27166a0e43d034279cf50224a1b6.tar.xz
infinity-for-reddit-0bcacafec36c27166a0e43d034279cf50224a1b6.tar.zst
infinity-for-reddit-0bcacafec36c27166a0e43d034279cf50224a1b6.zip
Minor UI tweaks.
-rw-r--r--app/build.gradle6
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/NetworkModule.java6
-rw-r--r--app/src/main/res/layout/exo_playback_control_view.xml3
-rw-r--r--app/src/main/res/layout/fragment_view_reddit_gallery_image_or_gif.xml3
4 files changed, 7 insertions, 11 deletions
diff --git a/app/build.gradle b/app/build.gradle
index c4a1329a..4f53782b 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -80,10 +80,10 @@ dependencies {
implementation "androidx.room:room-guava:$roomVersion"
implementation 'androidx.viewpager2:viewpager2:1.1.0-beta01'
implementation 'androidx.work:work-runtime:2.7.1'
- implementation 'com.google.android.material:material:1.8.0-alpha02'
+ implementation 'com.google.android.material:material:1.8.0-alpha03'
/** ExoPlayer **/
- def exoplayerVersion = "2.18.1"
+ def exoplayerVersion = "2.18.2"
implementation "com.google.android.exoplayer:exoplayer-core:$exoplayerVersion"
implementation "com.google.android.exoplayer:exoplayer-dash:$exoplayerVersion"
implementation "com.google.android.exoplayer:exoplayer-hls:$exoplayerVersion"
@@ -132,7 +132,7 @@ dependencies {
implementation 'com.google.code.gson:gson:2.8.9'
// Java library for zip files and streams
- implementation 'net.lingala.zip4j:zip4j:2.9.0'
+ implementation 'net.lingala.zip4j:zip4j:2.11.2'
// IO functionality
implementation 'commons-io:commons-io:2.5'
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/NetworkModule.java b/app/src/main/java/ml/docilealligator/infinityforreddit/NetworkModule.java
index bed19e97..8af8fdb6 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/NetworkModule.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/NetworkModule.java
@@ -78,12 +78,6 @@ abstract class NetworkModule {
}
@Provides
- @Named("rpan")
- static OkHttpClient provideRPANOkHttpClient(OkHttpClient httpClient) {
- return httpClient;
- }
-
- @Provides
@Named("oauth_without_authenticator")
@Singleton
static Retrofit provideOauthWithoutAuthenticatorRetrofit(Retrofit retrofit) {
diff --git a/app/src/main/res/layout/exo_playback_control_view.xml b/app/src/main/res/layout/exo_playback_control_view.xml
index 28ee2d9a..ff97f5dc 100644
--- a/app/src/main/res/layout/exo_playback_control_view.xml
+++ b/app/src/main/res/layout/exo_playback_control_view.xml
@@ -88,7 +88,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
- android:backgroundTint="#80000000"
+ android:backgroundTint="#00000000"
+ app:elevation="0dp"
android:visibility="gone"
style="@style/Widget.MaterialComponents.BottomAppBar">
diff --git a/app/src/main/res/layout/fragment_view_reddit_gallery_image_or_gif.xml b/app/src/main/res/layout/fragment_view_reddit_gallery_image_or_gif.xml
index fef3671d..66c250dd 100644
--- a/app/src/main/res/layout/fragment_view_reddit_gallery_image_or_gif.xml
+++ b/app/src/main/res/layout/fragment_view_reddit_gallery_image_or_gif.xml
@@ -47,7 +47,8 @@
android:layout_gravity="bottom"
android:minHeight="0dp"
app:paddingBottomSystemWindowInsets="false"
- android:backgroundTint="#80000000">
+ android:backgroundTint="#80000000"
+ app:elevation="0dp">
<LinearLayout
android:layout_width="match_parent"