fixed user link handler

This commit is contained in:
Mariotaku Lee 2016-08-29 19:07:40 +08:00
parent 061beb3ed2
commit f65767ffeb
1 changed files with 2 additions and 0 deletions

View File

@ -40,6 +40,7 @@ import org.mariotaku.twidere.R
import org.mariotaku.twidere.activity.iface.IControlBarActivity
import org.mariotaku.twidere.activity.iface.IControlBarActivity.ControlBarShowHideHelper
import org.mariotaku.twidere.constant.CompatibilityConstants
import org.mariotaku.twidere.constant.IntentConstants.EXTRA_USER_KEY
import org.mariotaku.twidere.constant.KeyboardShortcutConstants
import org.mariotaku.twidere.constant.SharedPreferenceConstants
import org.mariotaku.twidere.fragment.*
@ -472,6 +473,7 @@ class LinkHandlerActivity : BaseActivity(), SystemWindowsInsetsCallback, IContro
if (!args.containsKey(EXTRA_SCREEN_NAME)) {
args.putString(EXTRA_SCREEN_NAME, paramScreenName)
}
args.putParcelable(EXTRA_USER_KEY, paramUserKey)
if (paramUserKey != null) {
userHost = paramUserKey.host
}