diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2018-06-05 03:23:08 +0530 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-06-05 02:05:23 +0200 |
commit | dba8d0305eac470008424bf33fb097a7ee0fdb3e (patch) | |
tree | 0af1a3bccc6fe092ffa3b5b86593714f70f99ad0 | |
parent | 27072972ab944467bf7286afe4bfd89a4b795753 (diff) |
fab: Use themed context to set style
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
-rw-r--r-- | app/src/main/java/com/wireguard/android/widget/fab/FloatingActionsMenu.java | 2 |
1 files changed, 1 insertions, 1 deletions
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); |