Browse Source

change sticky topic icon

pull/24/head
Thodoris1999 7 years ago
parent
commit
fdebda2d4a
  1. 2
      app/src/main/java/gr/thmmy/mthmmy/activities/board/BoardAdapter.java
  2. 2
      app/src/main/res/values/strings.xml

2
app/src/main/java/gr/thmmy/mthmmy/activities/board/BoardAdapter.java

@ -239,7 +239,7 @@ class BoardAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder> {
lockedSticky += " " + context.getResources().getString(R.string.fa_lock);
if (topic.isSticky()) {
//topicViewHolder.topicSubject.setCompoundDrawablesWithIntrinsicBounds(0, 0, R.drawable.ic_pin, 0);
lockedSticky += " " + context.getResources().getString(R.string.fa_sticky);
lockedSticky += " " + context.getResources().getString(R.string.fa_thumbtack);
}
topicViewHolder.topicSubject.setText(lockedSticky);
topicViewHolder.topicStartedBy.setText(context.getString(R.string.topic_started_by, topic.getStarter()));

2
app/src/main/res/values/strings.xml

@ -87,9 +87,9 @@
<string name="fa_file_excel_o">&#xf1c3;</string>
<string name="fa_file_video_o">&#xf1c8;</string>
<string name="fa_lock">&#xf023;</string>
<string name="fa_sticky">&#xf249;</string>
<string name="fa_folder">&#xf07b;</string>
<string name="fa_circle">&#xf111;</string>
<string name="fa_thumbtack">&#xf08d;</string>
<!--Notifications-->
<string name="toggle_notification">Toggle Notification</string>

Loading…
Cancel
Save