Browse Source

fab: Use themed context to set style

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
master
Harsh Shandilya 6 years ago
committed by Jason A. Donenfeld
parent
commit
dba8d0305e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/src/main/java/com/wireguard/android/widget/fab/FloatingActionsMenu.java

+ 1
- 1
app/src/main/java/com/wireguard/android/widget/fab/FloatingActionsMenu.java View File

@@ -415,7 +415,7 @@ public class FloatingActionsMenu extends ViewGroup {
button.getTag(R.id.fab_label) != null) continue; button.getTag(R.id.fab_label) != null) continue;


final AppCompatTextView label = new AppCompatTextView(context); final AppCompatTextView label = new AppCompatTextView(context);
label.setTextAppearance(getContext(), mLabelsStyle);
label.setTextAppearance(context, mLabelsStyle);
label.setText(button.getTitle()); label.setText(button.getTitle());
addView(label); addView(label);




Loading…
Cancel
Save