From b0f511db4c55a4afa1ef4812dd2b88d74cf1087f Mon Sep 17 00:00:00 2001 From: cyBerta Date: Fri, 4 Aug 2023 03:52:19 +0200 Subject: clean up --- app/src/main/java/se/leap/bitmaskclient/base/utils/ViewHelper.java | 4 ---- .../se/leap/bitmaskclient/providersetup/activities/SetupActivity.java | 1 - .../providersetup/fragments/ConfigureProviderFragment.java | 2 -- 3 files changed, 7 deletions(-) (limited to 'app/src/main') diff --git a/app/src/main/java/se/leap/bitmaskclient/base/utils/ViewHelper.java b/app/src/main/java/se/leap/bitmaskclient/base/utils/ViewHelper.java index 145903b4..ebf26048 100644 --- a/app/src/main/java/se/leap/bitmaskclient/base/utils/ViewHelper.java +++ b/app/src/main/java/se/leap/bitmaskclient/base/utils/ViewHelper.java @@ -6,11 +6,9 @@ import static android.view.View.VISIBLE; import android.animation.Animator; import android.animation.ValueAnimator; import android.app.Activity; -import android.app.Notification; import android.content.Context; import android.graphics.Color; import android.graphics.drawable.ColorDrawable; -import android.os.Build; import android.text.Spannable; import android.text.SpannableString; import android.text.style.ForegroundColorSpan; @@ -26,8 +24,6 @@ import androidx.annotation.NonNull; import androidx.annotation.StringRes; import androidx.appcompat.app.ActionBar; import androidx.appcompat.app.AppCompatActivity; -import androidx.appcompat.widget.AppCompatTextView; -import androidx.appcompat.widget.LinearLayoutCompat; import androidx.core.content.ContextCompat; import androidx.fragment.app.Fragment; diff --git a/app/src/main/java/se/leap/bitmaskclient/providersetup/activities/SetupActivity.java b/app/src/main/java/se/leap/bitmaskclient/providersetup/activities/SetupActivity.java index 7881459f..439a0f6a 100644 --- a/app/src/main/java/se/leap/bitmaskclient/providersetup/activities/SetupActivity.java +++ b/app/src/main/java/se/leap/bitmaskclient/providersetup/activities/SetupActivity.java @@ -106,7 +106,6 @@ public class SetupActivity extends AppCompatActivity implements SetupActivityCal if (actionBar != null) { getSupportActionBar().setDisplayHomeAsUpEnabled(position == 0 && ProviderObservable.getInstance().getCurrentProvider().isConfigured()); } - } }); binding.viewPager.setAdapter(adapter); diff --git a/app/src/main/java/se/leap/bitmaskclient/providersetup/fragments/ConfigureProviderFragment.java b/app/src/main/java/se/leap/bitmaskclient/providersetup/fragments/ConfigureProviderFragment.java index 8475108f..325627f3 100644 --- a/app/src/main/java/se/leap/bitmaskclient/providersetup/fragments/ConfigureProviderFragment.java +++ b/app/src/main/java/se/leap/bitmaskclient/providersetup/fragments/ConfigureProviderFragment.java @@ -93,8 +93,6 @@ public class ConfigureProviderFragment extends BaseSetupFragment implements Obse return binding.getRoot(); } - - @Override public void onDestroyView() { super.onDestroyView(); -- cgit v1.2.3