29 lines
1.2 KiB
Java
29 lines
1.2 KiB
Java
package com.discord.utilities.fragment;
|
|
|
|
import android.os.Bundle;
|
|
import androidx.fragment.app.Fragment;
|
|
import d0.z.d.o;
|
|
import kotlin.jvm.functions.Function0;
|
|
/* compiled from: FragmentExtensions.kt */
|
|
public final class FragmentExtensionsKt$booleanExtra$1 extends o implements Function0<Boolean> {
|
|
public final /* synthetic */ boolean $defaultValue;
|
|
public final /* synthetic */ String $name;
|
|
public final /* synthetic */ Fragment $this_booleanExtra;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public FragmentExtensionsKt$booleanExtra$1(Fragment fragment, String str, boolean z2) {
|
|
super(0);
|
|
this.$this_booleanExtra = fragment;
|
|
this.$name = str;
|
|
this.$defaultValue = z2;
|
|
}
|
|
|
|
/* Return type fixed from 'boolean' to match base method */
|
|
/* JADX WARNING: Unknown variable types count: 2 */
|
|
@Override // kotlin.jvm.functions.Function0
|
|
/* renamed from: invoke */
|
|
public final Boolean mo1invoke() {
|
|
Bundle arguments = this.$this_booleanExtra.getArguments();
|
|
return arguments != null ? arguments.getBoolean(this.$name, this.$defaultValue) : this.$defaultValue;
|
|
}
|
|
}
|