Merge branch 'master' into new_api
This commit is contained in:
commit
8c110aeced
|
@ -353,14 +353,9 @@ public class DraftsFragment extends BaseSupportFragment implements Constants, Lo
|
|||
@Override
|
||||
protected void onPreExecute() {
|
||||
super.onPreExecute();
|
||||
mHandler.post(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
final SupportProgressDialogFragment f = SupportProgressDialogFragment.show(mActivity,
|
||||
FRAGMENT_TAG_DELETING_DRAFTS);
|
||||
f.setCancelable(false);
|
||||
}
|
||||
});
|
||||
final SupportProgressDialogFragment f = SupportProgressDialogFragment.show(mActivity,
|
||||
FRAGMENT_TAG_DELETING_DRAFTS);
|
||||
f.setCancelable(false);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -754,7 +754,6 @@ public class StatusFragment extends BaseSupportFragment implements LoaderCallbac
|
|||
profileTypeView.setVisibility(View.GONE);
|
||||
}
|
||||
|
||||
// TODO Handle source click
|
||||
final String timeString = Utils.formatToLongTimeString(context, timestamp);
|
||||
if (!TextUtils.isEmpty(timeString) && !TextUtils.isEmpty(source)) {
|
||||
timeSourceView.setText(Html.fromHtml(context.getString(R.string.time_source, timeString, source)));
|
||||
|
@ -763,7 +762,7 @@ public class StatusFragment extends BaseSupportFragment implements LoaderCallbac
|
|||
} else if (!TextUtils.isEmpty(timeString) && TextUtils.isEmpty(source)) {
|
||||
timeSourceView.setText(timeString);
|
||||
}
|
||||
timeSourceView.setMovementMethod(null);
|
||||
timeSourceView.setMovementMethod(StatusContentMovementMethod.getInstance());
|
||||
|
||||
textView.setText(Html.fromHtml(status.text_html));
|
||||
linkify.applyAllLinks(textView, status.account_id, layoutPosition, status.is_possibly_sensitive);
|
||||
|
|
Loading…
Reference in New Issue