summaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/drawer/NavigationDrawerFragment.java16
-rw-r--r--app/src/main/res/drawable/ic_menu_color_point.pngbin2454 -> 0 bytes
-rw-r--r--app/src/main/res/drawable/ic_menu_default.pngbin2454 -> 0 bytes
3 files changed, 0 insertions, 16 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/drawer/NavigationDrawerFragment.java b/app/src/main/java/se/leap/bitmaskclient/drawer/NavigationDrawerFragment.java
index 6335f6ed..3144d62c 100644
--- a/app/src/main/java/se/leap/bitmaskclient/drawer/NavigationDrawerFragment.java
+++ b/app/src/main/java/se/leap/bitmaskclient/drawer/NavigationDrawerFragment.java
@@ -97,7 +97,6 @@ public class NavigationDrawerFragment extends Fragment implements SharedPreferen
private static final String PREF_USER_LEARNED_DRAWER = "navigation_drawer_learned";
private static final String TAG = NavigationDrawerFragment.class.getName();
public static final int TWO_SECONDS = 2000;
- public static final int THREE_SECONDS = 3500;
/**
* Helper component that ties the action bar to the navigation drawer.
@@ -156,7 +155,6 @@ public class NavigationDrawerFragment extends Fragment implements SharedPreferen
wasPaused = false;
if (shouldCloseOnResume) {
closeDrawerWithDelay();
- showDottedIconWithDelay();
}
}
@@ -226,7 +224,6 @@ public class NavigationDrawerFragment extends Fragment implements SharedPreferen
// the navigation drawer automatically in the future.
userLearnedDrawer = true;
preferences.edit().putBoolean(PREF_USER_LEARNED_DRAWER, true).apply();
- toolbar.setNavigationIcon(R.drawable.ic_menu_default);
}
activity.invalidateOptionsMenu();
}
@@ -400,19 +397,6 @@ public class NavigationDrawerFragment extends Fragment implements SharedPreferen
drawerLayout.openDrawer(fragmentContainerView, false);
closeDrawerWithDelay();
- showDottedIconWithDelay();
-
- }
-
- private void showDottedIconWithDelay() {
- final Handler navigationDrawerHandler = new Handler();
- navigationDrawerHandler.postDelayed(() -> {
- if (!wasPaused) {
- toolbar.setNavigationIcon(R.drawable.ic_menu_color_point);
- toolbar.playSoundEffect(android.view.SoundEffectConstants.CLICK);
- }
-
- }, THREE_SECONDS);
}
@NonNull
diff --git a/app/src/main/res/drawable/ic_menu_color_point.png b/app/src/main/res/drawable/ic_menu_color_point.png
deleted file mode 100644
index ef4b0e51..00000000
--- a/app/src/main/res/drawable/ic_menu_color_point.png
+++ /dev/null
Binary files differ
diff --git a/app/src/main/res/drawable/ic_menu_default.png b/app/src/main/res/drawable/ic_menu_default.png
deleted file mode 100644
index e0d29163..00000000
--- a/app/src/main/res/drawable/ic_menu_default.png
+++ /dev/null
Binary files differ