Skip to content

Commit

Permalink
Merge pull request #404 from BlythMeister/BetaVersion
Browse files Browse the repository at this point in the history
Fix for #399 - Conversations appearing under wrong status'
  • Loading branch information
BlythMeister committed Feb 19, 2014
2 parents c4409ca + 1462040 commit 23cd103
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
3 changes: 2 additions & 1 deletion android/libraries/TweetLanesCore/res/xml/changelog.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@
<change>Feature - Large media previews &amp; option to turn off media previews</change>
<change>Feature - Added option to use display urls rather than full URLs</change>
<change>Feature - Added auto complete mid status rather than needing to be the last word in compose box</change>
<change>Feature - Added configuration for tweet cache size</change>
<change>Feature - Added configuration for statuses cache size</change>
<change>Fix - Set VolScroll to be defaulted off</change>
<change>Fix - Update remaining characters as soon as media attached</change>
<change>Fix - Rotate flip on landscape refresh</change>
<change>Fix - Prevent infinite refresh loop</change>
<change>Fix - Correct issue with conversations appearing under the wrong statuses</change>
<change>Fix - Various errors reported by fatal crashes</change>
</release>
<release version="1.3.0" versioncode="55">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,17 @@ public void configure(TwitterStatus twitterStatus, int position, Callbacks callb

mConversationExpanded = showConversationView;
mConversationToggle = mHolder.conversationToggle;

if (mConversationToggle != null) {
mConversationToggle.setVisibility(GONE);
if (mConversationView != null) {
removeView(mConversationView);
mConversationView = null;
}
int drawable = AppSettings.get().getCurrentTheme() == AppSettings.Theme.Holo_Dark ? R.drawable.ic_action_expand_dark
: R.drawable.ic_action_expand_light;
mConversationToggle.setImageDrawable(getResources().getDrawable(
drawable));

if (twitterStatus.mInReplyToStatusId != null) {
mConversationToggle.setVisibility(VISIBLE);
Expand All @@ -221,12 +231,6 @@ public void onClick(View v) {
mConversationView.setVisibility(GONE);
configureConversationView(socialNetType, currentAccountKey);
}
} else {
mConversationToggle.setVisibility(GONE);
if (mConversationView != null) {
removeView(mConversationView);
mConversationView = null;
}
}
}

Expand Down

0 comments on commit 23cd103

Please sign in to comment.