Loading app/src/main/java/app/fedilab/android/helper/SpannableHelper.java +3 −0 Original line number Diff line number Diff line Loading @@ -143,6 +143,9 @@ public class SpannableHelper { int start = content.getSpanStart(span); int end = content.getSpanEnd(span); if (start < 0 || end > content.length()) { continue; } content.removeSpan(span); //Get the matching word associated to the URL String word = content.subSequence(start, end).toString(); Loading app/src/main/java/app/fedilab/android/ui/drawer/NotificationAdapter.java +1 −1 Original line number Diff line number Diff line Loading @@ -313,7 +313,7 @@ public class NotificationAdapter extends RecyclerView.Adapter<RecyclerView.ViewH notification.filteredByApp = null; notifyItemChanged(position); }); } else { } else if (notification.status != null) { StatusAdapter.StatusViewHolder holderStatus = (StatusAdapter.StatusViewHolder) viewHolder; SharedPreferences sharedpreferences = PreferenceManager.getDefaultSharedPreferences(context); if (sharedpreferences.getBoolean(context.getString(R.string.SET_CARDVIEW), false)) { Loading Loading
app/src/main/java/app/fedilab/android/helper/SpannableHelper.java +3 −0 Original line number Diff line number Diff line Loading @@ -143,6 +143,9 @@ public class SpannableHelper { int start = content.getSpanStart(span); int end = content.getSpanEnd(span); if (start < 0 || end > content.length()) { continue; } content.removeSpan(span); //Get the matching word associated to the URL String word = content.subSequence(start, end).toString(); Loading
app/src/main/java/app/fedilab/android/ui/drawer/NotificationAdapter.java +1 −1 Original line number Diff line number Diff line Loading @@ -313,7 +313,7 @@ public class NotificationAdapter extends RecyclerView.Adapter<RecyclerView.ViewH notification.filteredByApp = null; notifyItemChanged(position); }); } else { } else if (notification.status != null) { StatusAdapter.StatusViewHolder holderStatus = (StatusAdapter.StatusViewHolder) viewHolder; SharedPreferences sharedpreferences = PreferenceManager.getDefaultSharedPreferences(context); if (sharedpreferences.getBoolean(context.getString(R.string.SET_CARDVIEW), false)) { Loading