react-native-navigation 7.25.4-snapshot.575 → 7.25.4-snapshot.584

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.
@@ -18,6 +18,7 @@ export const NavigationButton = class extends Component<ButtonProps> {
18
18
  testID={button.testID}
19
19
  key={button.id}
20
20
  title={button.text || ''}
21
+ disabled={button.enabled === false}
21
22
  onPress={() =>
22
23
  button.enabled !== false &&
23
24
  events.invokeNavigationButtonPressed({
@@ -161,16 +161,6 @@ List reactNativeVersionComponents(rnPackageJsonFile) {
161
161
  return reactNativeVersion.tokenize('-')[0].tokenize('.')
162
162
  }
163
163
 
164
- allprojects { p ->
165
- p.afterEvaluate {
166
- p.android.compileOptions.sourceCompatibility JavaVersion.VERSION_1_8
167
- p.android.compileOptions.targetCompatibility JavaVersion.VERSION_1_8
168
- }
169
- p.repositories {
170
- maven { url "https://jitpack.io" }
171
- }
172
- }
173
-
174
164
  dependencies {
175
165
 
176
166
  implementation "androidx.core:core-ktx:1.6.0"
@@ -12,7 +12,7 @@ const NavigationButton = class extends react_1.Component {
12
12
  const { button, componentId } = this.props;
13
13
  if (button.component)
14
14
  return this.renderButtonComponent();
15
- return (react_1.default.createElement(react_native_1.Button, { testID: button.testID, key: button.id, title: button.text || '', onPress: () => button.enabled !== false &&
15
+ return (react_1.default.createElement(react_native_1.Button, { testID: button.testID, key: button.id, title: button.text || '', disabled: button.enabled === false, onPress: () => button.enabled !== false &&
16
16
  EventsStore_1.events.invokeNavigationButtonPressed({
17
17
  buttonId: button.id,
18
18
  componentId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-navigation",
3
- "version": "7.25.4-snapshot.575",
3
+ "version": "7.25.4-snapshot.584",
4
4
  "description": "React Native Navigation - truly native navigation for iOS and Android",
5
5
  "license": "MIT",
6
6
  "nativePackage": true,