diff --git a/app/src/main/java/com/icecream/snorlax/module/feature/encounter/Encounter.java b/app/src/main/java/com/icecream/snorlax/module/feature/encounter/Encounter.java index 478f22a..62a5fbb 100644 --- a/app/src/main/java/com/icecream/snorlax/module/feature/encounter/Encounter.java +++ b/app/src/main/java/com/icecream/snorlax/module/feature/encounter/Encounter.java @@ -64,10 +64,12 @@ public final class Encounter implements Feature { private String formatMove(String move) { StringBuilder builder = new StringBuilder(); for (String part : move.split("_")) { - builder - .append(part.charAt(0)) - .append(part.substring(1).toLowerCase(Locale.US)) - .append(" "); + if (!part.equalsIgnoreCase("fast")) { + builder + .append(part.charAt(0)) + .append(part.substring(1).toLowerCase(Locale.US)) + .append(" "); + } } return builder.toString().trim(); } diff --git a/app/src/main/java/com/icecream/snorlax/module/feature/encounter/EncounterNotification.java b/app/src/main/java/com/icecream/snorlax/module/feature/encounter/EncounterNotification.java index 93b6105..b83cf00 100644 --- a/app/src/main/java/com/icecream/snorlax/module/feature/encounter/EncounterNotification.java +++ b/app/src/main/java/com/icecream/snorlax/module/feature/encounter/EncounterNotification.java @@ -83,7 +83,7 @@ void show(int pokemonNumber, String pokemonName, double iv, int attack, int defe ) .setColor(ContextCompat.getColor(mContext, R.color.red_700)) .setAutoCancel(true) - .setVibrate(new long[]{0, 60, 300, 60}) + //.setVibrate(new long[]{0, 60, 300, 60}) .setPriority(Notification.PRIORITY_MAX) .setCategory(NotificationCompat.CATEGORY_ALARM) .build(); diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 30665d7..940c918 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -37,7 +37,7 @@ Encounter Notifications encounter_notification_key Enable encounter notifications - Show encountered encounterPokemon stats via system notification + Show encounter pokemons stats via system notification Catch Notifications catch_notification_key