From dba8d0305eac470008424bf33fb097a7ee0fdb3e Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Tue, 5 Jun 2018 03:23:08 +0530 Subject: fab: Use themed context to set style Signed-off-by: Harsh Shandilya --- .../main/java/com/wireguard/android/widget/fab/FloatingActionsMenu.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/src') 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); -- cgit v1.2.3