Skip to content

Commit 07f1294

Browse files
committed
fixes #280
1 parent a46b2ef commit 07f1294

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cSploit/src/org/csploit/android/MainActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -831,7 +831,7 @@ public View getView(int position, View convertView, ViewGroup parent) {
831831
row = inflater
832832
.inflate(R.layout.target_list_item, parent, false);
833833
if (getSharedPreferences("THEME", 0).getBoolean("isDark", false))
834-
row.setBackground(getResources().getDrawable(R.drawable.card_background_dark));
834+
row.setBackgroundResource(R.drawable.card_background_dark);
835835
holder = new TargetHolder();
836836
holder.itemImage = (ImageView) (row != null ? row
837837
.findViewById(R.id.itemIcon) : null);

0 commit comments

Comments
 (0)