Commit 8b48bff4 by 霍志良

fix:修复我的-我的动态-发布按钮不能点击的问题

parent c02935f5
...@@ -20,8 +20,8 @@ import java.util.List; ...@@ -20,8 +20,8 @@ import java.util.List;
public final class DemoGlobalConfig implements IConfigModule { public final class DemoGlobalConfig implements IConfigModule {
String APP_DOMAIN = "https://api.github.com/"; String APP_DOMAIN = "https://api.github.com/";
// public static String appEnv = YDLConstants.ENV_AUTO_TEST; // public static String appEnv = YDLConstants.ENV_AUTO_TEST;
public static String appEnv = YDLConstants.ENV_TEST; // public static String appEnv = YDLConstants.ENV_TEST;
// public static String appEnv = YDLConstants.ENV_PROD; public static String appEnv = YDLConstants.ENV_PROD;
@Override @Override
public void injectAppLifecycle(@NotNull Context context, @NotNull List<IAppLifecycles> lifecycles) { public void injectAppLifecycle(@NotNull Context context, @NotNull List<IAppLifecycles> lifecycles) {
......
...@@ -11,7 +11,7 @@ ext { ...@@ -11,7 +11,7 @@ ext {
"m-user" : "0.0.61.30", "m-user" : "0.0.61.30",
"m-home" : "0.0.22.60", "m-home" : "0.0.22.60",
"m-im" : "0.0.18.53", "m-im" : "0.0.18.53",
"m-dynamic" : "0.0.7.21", "m-dynamic" : "0.0.7.22",
"m-article" : "0.0.0.8", "m-article" : "0.0.0.8",
"m-muse" : "0.0.28.22", "m-muse" : "0.0.28.22",
...@@ -94,7 +94,7 @@ ext { ...@@ -94,7 +94,7 @@ ext {
"m-user" : "0.0.61.18", "m-user" : "0.0.61.18",
"m-home" : "0.0.22.54", "m-home" : "0.0.22.54",
"m-im" : "0.0.18.53", "m-im" : "0.0.18.53",
"m-dynamic" : "0.0.7.19", "m-dynamic" : "0.0.7.22",
"m-article" : "0.0.0.6", "m-article" : "0.0.0.6",
"m-muse" : "0.0.20.7", "m-muse" : "0.0.20.7",
......
...@@ -473,7 +473,7 @@ class TrendsListFragment : BaseLazyFragment(), ITrendsListView, ...@@ -473,7 +473,7 @@ class TrendsListFragment : BaseLazyFragment(), ITrendsListView,
fun initClick() { fun initClick() {
recommend_trend_add_iv.setOnClickListener { recommend_trend_add_iv.setOnClickListener {
if (DynamicIn.loginByOneKeyLogin(mActivity!!,true)) { if (DynamicIn.loginByOneKeyLogin(requireContext(),true)) {
val intent = Intent(activity?.applicationContext, PublishTrendActivity::class.java) val intent = Intent(activity?.applicationContext, PublishTrendActivity::class.java)
val bundle = Bundle() val bundle = Bundle()
bundle.putString(DynamicConstants.PUBLISH_TYPE, "default_publish") bundle.putString(DynamicConstants.PUBLISH_TYPE, "default_publish")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment