weex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ky...@apache.org
Subject [33/52] [abbrv] incubator-weex git commit: * [Core] Open FlatGUI
Date Mon, 07 May 2018 07:53:06 GMT
* [Core] Open FlatGUI


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/0c9dfa33
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/0c9dfa33
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/0c9dfa33

Branch: refs/heads/master
Commit: 0c9dfa3347f73086ff1804cbe2fb81cf10a45cb1
Parents: bf3c83d
Author: miomin <691292118@qq.com>
Authored: Sat Apr 28 16:41:35 2018 +0800
Committer: YorkShen <shenyuancs@gmail.com>
Committed: Mon May 7 15:52:08 2018 +0800

----------------------------------------------------------------------
 .../sdk/src/main/java/com/taobao/weex/ui/flat/FlatGUIContext.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/0c9dfa33/android/sdk/src/main/java/com/taobao/weex/ui/flat/FlatGUIContext.java
----------------------------------------------------------------------
diff --git a/android/sdk/src/main/java/com/taobao/weex/ui/flat/FlatGUIContext.java b/android/sdk/src/main/java/com/taobao/weex/ui/flat/FlatGUIContext.java
index 16f1d62..b161c78 100644
--- a/android/sdk/src/main/java/com/taobao/weex/ui/flat/FlatGUIContext.java
+++ b/android/sdk/src/main/java/com/taobao/weex/ui/flat/FlatGUIContext.java
@@ -48,7 +48,7 @@ public class FlatGUIContext implements Destroyable {
   private Map<Widget, WXComponent> widgetToComponent = new ArrayMap<>();
 
   public boolean isFlatUIEnabled(WXComponent component) {
-    return false;
+    return component.isFlatUIEnabled();
   }
 
   public void register(@NonNull WXComponent descendant, @NonNull WidgetContainer ancestor)
{


Mime
View raw message