Skip to content

Commit d7a654f

Browse files
committed
Update AndroidX Fragment to 1.4.1
1 parent dcb332e commit d7a654f

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ dependencies {
202202
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
203203
implementation 'androidx.core:core-ktx:1.8.0'
204204
implementation 'androidx.documentfile:documentfile:1.0.1'
205-
implementation 'androidx.fragment:fragment-ktx:1.3.6'
205+
implementation 'androidx.fragment:fragment-ktx:1.4.1'
206206
implementation "androidx.lifecycle:lifecycle-livedata:${androidxLifecycleVersion}"
207207
implementation "androidx.lifecycle:lifecycle-viewmodel:${androidxLifecycleVersion}"
208208
implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.1.0'

app/src/main/java/org/schabi/newpipe/player/helper/PlaybackParameterDialog.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
import android.graphics.drawable.LayerDrawable;
1212
import android.os.Bundle;
1313
import android.util.Log;
14-
import android.view.LayoutInflater;
1514
import android.view.View;
1615
import android.widget.CheckBox;
1716
import android.widget.SeekBar;
@@ -149,7 +148,7 @@ public Dialog onCreateDialog(@Nullable final Bundle savedInstanceState) {
149148
assureCorrectAppLanguage(getContext());
150149
Icepick.restoreInstanceState(this, savedInstanceState);
151150

152-
binding = DialogPlaybackParameterBinding.inflate(LayoutInflater.from(getContext()));
151+
binding = DialogPlaybackParameterBinding.inflate(getLayoutInflater());
153152
initUI();
154153

155154
final AlertDialog.Builder dialogBuilder = new AlertDialog.Builder(requireActivity())

0 commit comments

Comments
 (0)