Browse Source

emoji selector android fix

Viktoriia 10 giờ trước cách đây
mục cha
commit
cc980fd80d
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      patches/react-native-emoji-selector+0.2.0.patch

+ 2 - 2
patches/react-native-emoji-selector+0.2.0.patch

@@ -1,5 +1,5 @@
 diff --git a/node_modules/react-native-emoji-selector/index.js b/node_modules/react-native-emoji-selector/index.js
-index 0737acd..7b52b80 100644
+index 0737acd..664a8e3 100644
 --- a/node_modules/react-native-emoji-selector/index.js
 +++ b/node_modules/react-native-emoji-selector/index.js
 @@ -91,7 +91,7 @@ const TabBar = ({ theme, activeCategory, onPress, width }) => {
@@ -7,7 +7,7 @@ index 0737acd..7b52b80 100644
                textAlign: "center",
                paddingBottom: 8,
 -              fontSize: tabSize - 24
-+              fontSize: tabSize - 16
++              fontSize: tabSize > 16 ? tabSize - 16 : 10
              }}
            >
              {category.symbol}