diff --git a/app/src/main/java/com/wireguard/android/widget/fab/FloatingActionsMenu.java b/app/src/main/java/com/wireguard/android/widget/fab/FloatingActionsMenu.java index 7aec7a04..fcca6a65 100644 --- a/app/src/main/java/com/wireguard/android/widget/fab/FloatingActionsMenu.java +++ b/app/src/main/java/com/wireguard/android/widget/fab/FloatingActionsMenu.java @@ -415,7 +415,7 @@ public class FloatingActionsMenu extends ViewGroup { button.getTag(R.id.fab_label) != null) continue; final AppCompatTextView label = new AppCompatTextView(context); - label.setTextAppearance(getContext(), mLabelsStyle); + label.setTextAppearance(context, mLabelsStyle); label.setText(button.getTitle()); addView(label);