react-native-screens 3.26.0 → 3.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/android/build.gradle
CHANGED
|
@@ -124,10 +124,10 @@ repositories {
|
|
|
124
124
|
|
|
125
125
|
dependencies {
|
|
126
126
|
implementation 'com.facebook.react:react-native:+'
|
|
127
|
-
implementation 'androidx.appcompat:appcompat:1.
|
|
128
|
-
implementation 'androidx.fragment:fragment
|
|
127
|
+
implementation 'androidx.appcompat:appcompat:1.5.0'
|
|
128
|
+
implementation 'androidx.fragment:fragment:1.3.6'
|
|
129
129
|
implementation 'androidx.coordinatorlayout:coordinatorlayout:1.2.0'
|
|
130
130
|
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
|
|
131
131
|
implementation 'com.google.android.material:material:1.9.0'
|
|
132
|
-
implementation "androidx.core:core-ktx:1.
|
|
132
|
+
implementation "androidx.core:core-ktx:1.8.0"
|
|
133
133
|
}
|
|
@@ -390,7 +390,7 @@ class ScreenStackHeaderConfig(context: Context) : ViewGroup(context) {
|
|
|
390
390
|
|
|
391
391
|
// set primary color as background by default
|
|
392
392
|
val tv = TypedValue()
|
|
393
|
-
if (context.theme.resolveAttribute(R.attr.colorPrimary, tv, true)) {
|
|
393
|
+
if (context.theme.resolveAttribute(android.R.attr.colorPrimary, tv, true)) {
|
|
394
394
|
toolbar.setBackgroundColor(tv.data)
|
|
395
395
|
}
|
|
396
396
|
toolbar.clipChildren = false
|
|
@@ -31,6 +31,21 @@ RCT_NOT_IMPLEMENTED(-(instancetype)init)
|
|
|
31
31
|
return body;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
+
- (BOOL)canCoalesce
|
|
35
|
+
{
|
|
36
|
+
return YES;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
- (uint16_t)coalescingKey
|
|
40
|
+
{
|
|
41
|
+
return _headerHeight;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
- (id<RCTEvent>)coalesceWithEvent:(id<RCTEvent>)newEvent
|
|
45
|
+
{
|
|
46
|
+
return newEvent;
|
|
47
|
+
}
|
|
48
|
+
|
|
34
49
|
+ (NSString *)moduleDotMethod
|
|
35
50
|
{
|
|
36
51
|
return @"RCTEventEmitter.receiveEvent";
|