summaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2020-12-30 02:46:28 +0100
committercyBerta <cyberta@riseup.net>2020-12-30 02:46:28 +0100
commit6bf1ee63afeac4d9f769961d7d76a61cba0a1de6 (patch)
tree3c6070b431e68435e2245adeefe9abaa9910a91e /app/src
parent761c936e4f8b929c97f0ae65bc4867883f8da444 (diff)
fix insecure flavored dev builds
Diffstat (limited to 'app/src')
-rw-r--r--app/src/insecure/java/se/leap/bitmaskclient/providersetup/AddProviderActivity.java13
1 files changed, 7 insertions, 6 deletions
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