瀏覽代碼

fab: Use themed context to set style

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
master
Harsh Shandilya 6 年之前
committed by Jason A. Donenfeld
父節點
當前提交
dba8d0305e
共有 1 個檔案被更改,包括 1 行新增1 行删除
  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 查看文件

@@ -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);



Loading…
取消
儲存