Refactoring

This commit is contained in:
M66B
2018-12-29 07:40:12 +00:00
parent 617c2cc18e
commit 0900aee1d3
6 changed files with 10 additions and 7 deletions

View File

@@ -1718,7 +1718,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
this.confirm = prefs.getBoolean("confirm", false);
this.debug = prefs.getBoolean("debug", false);
this.dp24 = Math.round(24 * context.getResources().getDisplayMetrics().density);
this.dp24 = Helper.dp2pixels(24, context);
this.colorPrimary = Helper.resolveColor(context, R.attr.colorPrimary);
this.colorAccent = Helper.resolveColor(context, R.attr.colorAccent);
this.textColorSecondary = Helper.resolveColor(context, android.R.attr.textColorSecondary);