From 6bf1ee63afeac4d9f769961d7d76a61cba0a1de6 Mon Sep 17 00:00:00 2001 From: cyBerta Date: Wed, 30 Dec 2020 02:46:28 +0100 Subject: fix insecure flavored dev builds --- .../bitmaskclient/providersetup/AddProviderActivity.java | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'app') diff --git a/app/src/insecure/java/se/leap/bitmaskclient/providersetup/AddProviderActivity.java b/app/src/insecure/java/se/leap/bitmaskclient/providersetup/AddProviderActivity.java index a566f37a..6d23c48d 100644 --- a/app/src/insecure/java/se/leap/bitmaskclient/providersetup/AddProviderActivity.java +++ b/app/src/insecure/java/se/leap/bitmaskclient/providersetup/AddProviderActivity.java @@ -7,8 +7,9 @@ import android.widget.CheckBox; import android.widget.LinearLayout; import android.widget.RelativeLayout; -import butterknife.InjectView; -import butterknife.Optional; +import androidx.annotation.Nullable; + +import butterknife.BindView; import se.leap.bitmaskclient.R; import se.leap.bitmaskclient.providersetup.activities.AddProviderBaseActivity; @@ -20,14 +21,14 @@ public class AddProviderActivity extends AddProviderBaseActivity { final public static String TAG = "AddProviderActivity"; - @InjectView(R.id.danger_checkbox) + @BindView(R.id.danger_checkbox) CheckBox checkboxDanger; - @InjectView(R.id.button_save) + @BindView(R.id.button_save) Button saveButton; - @Optional - @InjectView(R.id.button_container) + @Nullable + @BindView(R.id.button_container) LinearLayout buttonContainer; @Override -- cgit v1.2.3