Skip to content

Commit

Permalink
Restore entry selection indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbakker committed Jan 3, 2024
1 parent 59f1990 commit 8a14a37
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.beemdevelopment.aegis.ui.views;

import android.graphics.PorterDuff;
import android.os.Handler;
import android.view.View;
import android.view.animation.Animation;
Expand Down Expand Up @@ -244,6 +243,7 @@ public void setShowProgress(boolean showProgress) {

public void setFocused(boolean focused) {
if (focused) {
_selected.setVisibility(View.VISIBLE);
_view.setBackgroundColor(ThemeHelper.getThemeColor(com.google.android.material.R.attr.colorSurfaceVariant, _view.getContext().getTheme()));
} else {
_view.setBackgroundColor(ThemeHelper.getThemeColor(com.google.android.material.R.attr.colorSurfaceContainer, _view.getContext().getTheme()));
Expand Down

0 comments on commit 8a14a37

Please sign in to comment.