muba-posting 8.0.10 → 8.0.11

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/Posting.js CHANGED
@@ -171,10 +171,6 @@ export default class Posting extends React.Component {
171
171
  {
172
172
  name: 'PostingFontAwesome',
173
173
  source: require('./fonts/Font-Awesome.ttf')
174
- },
175
- {
176
- name: 'PostingFontAwesomeAd',
177
- source: require('./fonts/Font-Awesome-ad.ttf')
178
174
  }
179
175
  ]);
180
176
  this.setState({ fontLoaded: true });
package/Publish5.js CHANGED
@@ -3,13 +3,8 @@ import { Text, View, TouchableHighlight, Image, TouchableOpacity } from 'react-n
3
3
  import { strings } from 'muba-i18n';
4
4
  import commonStyles from './commonStyles';
5
5
  import InputSelect from 'muba-input-select';
6
+ import AdFeatures from 'muba-ad-features';
6
7
  import { Views } from './utils/Views';
7
- import { createIconSetFromIcoMoon } from '@expo/vector-icons';
8
- const AdFeatureIcon = createIconSetFromIcoMoon(
9
- require('./fonts/selection-ad.json'),
10
- 'PostingFontAwesomeAd',
11
- 'Font-Awesome-ad.ttf'
12
- );
13
8
 
14
9
  export default class Publish5 extends React.Component {
15
10
  constructor(props) {
@@ -399,7 +394,7 @@ class IconFeature extends React.Component {
399
394
  <View style={[commonStyles.characLinkBox, commonStyles.col, commonStyles.col3]}>
400
395
  <TouchableOpacity activeOpacity={1} style={[commonStyles.characIcon, commonStyles.characIcon, this.props.disabled ? commonStyles.disabled : null]} onPress={() => this.onPressIcon()}
401
396
  disabled={this.props.disabled}>
402
- <AdFeatureIcon style={[commonStyles.characImage, this.state.selected ? commonStyles.characImageSelected : null]} name={this.props.name} />
397
+ <AdFeatures style={[commonStyles.characImage, this.state.selected ? commonStyles.characImageSelected : null]} name={this.props.name} />
403
398
  </TouchableOpacity>
404
399
  <Text style={[commonStyles.characIconText, this.state.selected ? commonStyles.characIconTextSelected : null]}>{this.props.iconText}</Text>
405
400
  </View>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "muba-posting",
3
- "version": "8.0.10",
3
+ "version": "8.0.11",
4
4
  "description": "Posting",
5
5
  "main": "Posting.js",
6
6
  "scripts": {
@@ -18,6 +18,7 @@
18
18
  "homepage": "https://github.com/Mubawab/muba-posting#readme",
19
19
  "dependencies": {
20
20
  "@react-native-async-storage/async-storage": "1.23.1",
21
+ "muba-ad-features": "8",
21
22
  "muba-custom-scroll-view": "8",
22
23
  "muba-display-price": "8",
23
24
  "muba-font": "8",