Fixed scaling percentage

pull/184/head
M66B 5 years ago
parent d4ca4b9af1
commit 8931abe4e2

@ -792,7 +792,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
} }
// Feedback // Feedback
String perc = Math.round(scale) + " %"; String perc = Math.round(scale * 100) + " %";
if (toast != null) if (toast != null)
toast.cancel(); toast.cancel();
toast = ToastEx.makeText(context, perc, Toast.LENGTH_SHORT); toast = ToastEx.makeText(context, perc, Toast.LENGTH_SHORT);

Loading…
Cancel
Save