This commit is contained in:
Mustafa Buyukcelebi 2019-03-22 10:47:29 +03:00
commit 615df41ebe
90 changed files with 480 additions and 110 deletions

View File

@ -1,6 +1,6 @@
<resources>
<string moduleConfig="true" name="reactNativeCodePush_androidDeploymentKey">hvFLmwFbA1yko829EQO_apTfdlCKSybps-jnWV</string>
<string name="app_name">eSteem</string>
<string name="appCenterAnalytics_whenToEnableAnalytics" moduleConfig="true" translatable="false">ALWAYS_SEND</string>
<string name="appCenterCrashes_whenToSendCrashes" moduleConfig="true" translatable="false">ALWAYS_SEND</string>
<string name="appCenterAnalytics_whenToEnableAnalytics" moduleConfig="true">ALWAYS_SEND</string>
<string name="appCenterCrashes_whenToSendCrashes" moduleConfig="true">ALWAYS_SEND</string>
</resources>

View File

@ -3,10 +3,10 @@
platform :ios, '9.0'
target 'eSteem' do
pod 'AppCenter/Push', '~> 1.13.2'
pod 'AppCenter/Crashes', '~> 1.13.2'
pod 'AppCenter/Analytics', '~> 1.13.2'
pod 'AppCenterReactNativeShared', '~> 1.12.2'
pod 'AppCenter/Push', '~> 1.13.0'
pod 'AppCenter/Crashes', '~> 1.13.0'
pod 'AppCenter/Analytics', '~> 1.13.0'
pod 'AppCenterReactNativeShared', '~> 1.12.0'
# Uncomment the next line if you're using Swift or would like to use dynamic frameworks
# use_frameworks!

View File

@ -87,10 +87,10 @@ PODS:
- yoga (0.57.8.React)
DEPENDENCIES:
- AppCenter/Analytics (~> 1.13.2)
- AppCenter/Crashes (~> 1.13.2)
- AppCenter/Push (~> 1.13.2)
- AppCenterReactNativeShared (~> 1.12.2)
- AppCenter/Analytics (~> 1.13.0)
- AppCenter/Crashes (~> 1.13.0)
- AppCenter/Push (~> 1.13.0)
- AppCenterReactNativeShared (~> 1.12.0)
- CodePush (from `../node_modules/react-native-code-push`)
- DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`)
- Folly (from `../node_modules/react-native/third-party-podspecs/Folly.podspec`)
@ -148,7 +148,7 @@ SPEC CHECKSUMS:
AppCenterReactNativeShared: 6c0750b874f3242c47cb64083e23b835975c6aa2
Base64: cecfb41a004124895a7bcee567a89bae5a89d49b
boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c
CodePush: 338a023972c64636503e8886cf4cb6ec27dd1c01
CodePush: b4c024dfc7b1f44434aaadf9f6763bb22e243980
DoubleConversion: bb338842f62ab1d708ceb63ec3d999f0f3d98ecd
FLAnimatedImage: 4a0b56255d9b05f18b6dd7ee06871be5d3b89e31
Folly: c89ac2d5c6ab169cd7397ef27485c44f35f742c7
@ -157,13 +157,13 @@ SPEC CHECKSUMS:
QBImagePickerController: d54cf93db6decf26baf6ed3472f336ef35cae022
React: adbac0757ce35e92fbd447ab98c810209d27d9b0
react-native-fast-image: 6d50167ad4d68b59640ceead8c2bc4e58d91d8bd
react-native-version-number: 75301519bb72064ad209a498ed08b128cbcf10e7
react-native-version-number: d4919bbe43b62039894c6a747633bb59a8a44df3
RNImageCropPicker: 754299983d07c450aec0834c0efe0ed114131ff3
RSKImageCropper: 98296ad26b41753f796b6898d015509598f13d97
SDWebImage: 3f3f0c02f09798048c47a5ed0a13f17b063572d8
SSZipArchive: 41455d4b8d2b6ab93990820b50dc697c2554a322
yoga: 74cdf036c30820443b25ade59916236b1e95ee93
PODFILE CHECKSUM: 912beb64b8d712ee1463a7050ff1cd8c9a700fcd
PODFILE CHECKSUM: 7e5e745ff42e44b918e4f17ac209c3b553d6be97
COCOAPODS: 1.6.1

View File

@ -2,7 +2,9 @@
"name": "CodePush",
"version": "5.5.2",
"summary": "React Native plugin for the CodePush service",
"authors": "Microsoft Corporation",
"authors": {
"name": "Microsoft Corporation"
},
"license": "MIT",
"homepage": "https://microsoft.github.io/code-push",
"source": {

View File

@ -5,13 +5,16 @@
"homepage": "https://github.com/APSL/react-native-version-number",
"license": "MIT",
"authors": {
"Alvaro Medina Ballester <amedina@apsl.net>": "Alvaro Medina Ballester <amedina@apsl.net>"
"{\"name\"=>\"Alvaro Medina Ballester\", \"email\"=>\"amedina@apsl.net\"}": {
"name": "Alvaro Medina Ballester",
"email": "amedina@apsl.net"
}
},
"platforms": {
"ios": "7.0"
},
"source": {
"git": "https://github.com/APSL/react-native-version-number.git.git",
"git": "git+https://github.com/APSL/react-native-version-number.git.git",
"tag": "v0.3.5"
},
"source_files": "ios/*.{h,m}",

14
ios/Pods/Manifest.lock generated
View File

@ -87,10 +87,10 @@ PODS:
- yoga (0.57.8.React)
DEPENDENCIES:
- AppCenter/Analytics (~> 1.13.2)
- AppCenter/Crashes (~> 1.13.2)
- AppCenter/Push (~> 1.13.2)
- AppCenterReactNativeShared (~> 1.12.2)
- AppCenter/Analytics (~> 1.13.0)
- AppCenter/Crashes (~> 1.13.0)
- AppCenter/Push (~> 1.13.0)
- AppCenterReactNativeShared (~> 1.12.0)
- CodePush (from `../node_modules/react-native-code-push`)
- DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`)
- Folly (from `../node_modules/react-native/third-party-podspecs/Folly.podspec`)
@ -148,7 +148,7 @@ SPEC CHECKSUMS:
AppCenterReactNativeShared: 6c0750b874f3242c47cb64083e23b835975c6aa2
Base64: cecfb41a004124895a7bcee567a89bae5a89d49b
boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c
CodePush: 338a023972c64636503e8886cf4cb6ec27dd1c01
CodePush: b4c024dfc7b1f44434aaadf9f6763bb22e243980
DoubleConversion: bb338842f62ab1d708ceb63ec3d999f0f3d98ecd
FLAnimatedImage: 4a0b56255d9b05f18b6dd7ee06871be5d3b89e31
Folly: c89ac2d5c6ab169cd7397ef27485c44f35f742c7
@ -157,13 +157,13 @@ SPEC CHECKSUMS:
QBImagePickerController: d54cf93db6decf26baf6ed3472f336ef35cae022
React: adbac0757ce35e92fbd447ab98c810209d27d9b0
react-native-fast-image: 6d50167ad4d68b59640ceead8c2bc4e58d91d8bd
react-native-version-number: 75301519bb72064ad209a498ed08b128cbcf10e7
react-native-version-number: d4919bbe43b62039894c6a747633bb59a8a44df3
RNImageCropPicker: 754299983d07c450aec0834c0efe0ed114131ff3
RSKImageCropper: 98296ad26b41753f796b6898d015509598f13d97
SDWebImage: 3f3f0c02f09798048c47a5ed0a13f17b063572d8
SSZipArchive: 41455d4b8d2b6ab93990820b50dc697c2554a322
yoga: 74cdf036c30820443b25ade59916236b1e95ee93
PODFILE CHECKSUM: 912beb64b8d712ee1463a7050ff1cd8c9a700fcd
PODFILE CHECKSUM: 7e5e745ff42e44b918e4f17ac209c3b553d6be97
COCOAPODS: 1.6.1

View File

@ -9,4 +9,3 @@ PODS_BUILD_DIR = ${BUILD_DIR}
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
PODS_ROOT = ${SRCROOT}/Pods
USER_HEADER_SEARCH_PATHS = $(inherited) $(SRCROOT)/FLAnimatedImage/FLAnimatedImage

View File

@ -9,4 +9,3 @@ PODS_BUILD_DIR = ${BUILD_DIR}
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
PODS_ROOT = ${SRCROOT}/Pods
USER_HEADER_SEARCH_PATHS = $(inherited) $(SRCROOT)/FLAnimatedImage/FLAnimatedImage

View File

@ -8,4 +8,3 @@ PODS_BUILD_DIR = ${BUILD_DIR}
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
PODS_ROOT = ${SRCROOT}/Pods
USER_HEADER_SEARCH_PATHS = $(inherited) $(SRCROOT)/FLAnimatedImage/FLAnimatedImage

View File

@ -8,4 +8,3 @@ PODS_BUILD_DIR = ${BUILD_DIR}
PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
PODS_ROOT = ${SRCROOT}/Pods
USER_HEADER_SEARCH_PATHS = $(inherited) $(SRCROOT)/FLAnimatedImage/FLAnimatedImage

View File

@ -12,7 +12,7 @@
<key>eSteem.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>29</integer>
<integer>30</integer>
</dict>
</dict>
</dict>

View File

@ -34,6 +34,7 @@ class SettingsItemView extends PureComponent {
isOn,
actionType,
defaultText,
handleOnButtonPress,
} = this.props;
switch (type) {
@ -64,7 +65,7 @@ class SettingsItemView extends PureComponent {
case 'button':
return (
<TextButton
onPress={() => handleOnChange(null, type, actionType)}
onPress={() => handleOnButtonPress(actionType)}
textStyle={styles.textStyle}
style={styles.textButton}
text={text}

View File

@ -66,12 +66,16 @@
"pincode": "Kode PIN",
"reset": "Atôe ulang",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Info ureueng galak",

View File

@ -66,12 +66,16 @@
"pincode": "رمز PIN",
"reset": "إعادة",
"nsfw_content": "محتوى NSFW",
"send_feedback": "إرسال الملاحظات",
"send": "إرسال",
"default_footer": "تذييل إفتراضي",
"nsfw": {
"always_show": "عرض دوماً",
"always_hide": "إخفاء دوماً",
"always_warn": "التحذير دوماً"
}
},
"feedback_success": "تم فتح البريد الإلكتروني بنجاح",
"feedback_fail": "لا يمكن فتح عميل البريد الإلكتروني"
},
"voters": {
"voters_info": "معلومات عن المصوتين",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Reset",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Voters Info",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Reset",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Voters Info",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Reset",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Voters Info",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Reset",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Voters Info",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Reset",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Voters Info",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Reset",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Voters Info",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Reset",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Voters Info",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Reset",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Voters Info",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Reset",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Voters Info",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Reset",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Voters Info",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Zurücksetzen",
"nsfw_content": "NSFW Inhalt",
"send_feedback": "Feedback senden",
"send": "Senden",
"default_footer": "Standard Fußzeile",
"nsfw": {
"always_show": "Immer anzeigen",
"always_hide": "Immer verstecken",
"always_warn": "Immer warnen"
}
},
"feedback_success": "E-Mail erfolgreich geöffnet",
"feedback_fail": "E-Mail Client konnte nicht geöffnet werden"
},
"voters": {
"voters_info": "Voter-Informationen",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Reset",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Voters Info",

View File

@ -75,12 +75,16 @@
"pincode": "PIN code",
"reset": "Reset",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Voters Info",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Reset",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Voters Info",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Reiniciar",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Información de votantes",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Reset",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Voters Info",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "راه اندازی مجدد",
"nsfw_content": "محتوای نامناسب برای کودکان",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "پانویس پیش فرض",
"nsfw": {
"always_show": "همیشه نمایش بده",
"always_hide": "همیشه پنهان باشد",
"always_warn": "همیشه هشدار بده"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "اطلاعات رأی دهندگان",

View File

@ -66,12 +66,16 @@
"pincode": "PIN-koodi",
"reset": "Nollaa",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Voters Info",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Reset",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Voters Info",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Réinitialiser",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Info des votants",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Reset",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Voters Info",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Reset",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Voters Info",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Reset",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Voters Info",

View File

@ -66,12 +66,16 @@
"pincode": "קוד PIN",
"reset": "אתחל",
"nsfw_content": "תוכן NSFW",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "ברירת מחדל תחתונה",
"nsfw": {
"always_show": "הצג תמיד",
"always_hide": "הסתר תמיד",
"always_warn": "הזהר תמיד"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "פרטי המצביעים",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "पुनः नियोजन",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "मतदाताओं की जानकारी",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Resetiraj",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Informacije o glasačima",

View File

@ -66,12 +66,16 @@
"pincode": "PIN kód",
"reset": "Visszaállítás",
"nsfw_content": "NSFW tartalom",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Alapértelmezett lábléc",
"nsfw": {
"always_show": "Mindig látszik",
"always_hide": "Mindig rejtve",
"always_warn": "Mindig figyelmeztess"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Infó a szavazókról",

View File

@ -66,12 +66,16 @@
"pincode": "PIN code",
"reset": "Reset",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Voters Info",

View File

@ -66,12 +66,16 @@
"pincode": "Kode PIN",
"reset": "Setel Ulang",
"nsfw_content": "Konten NSFW",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Selalu Tampilkan",
"always_hide": "Selalu menyembunyikan",
"always_warn": "Selalu memperingatkan"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Info Pemilih",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Reset",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Voters Info",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Resetta",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Info Votanti",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Reset",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Voters Info",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Reset",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Voters Info",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Reset",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Voters Info",

View File

@ -66,12 +66,16 @@
"pincode": "PIN 코드",
"reset": "초기화",
"nsfw_content": "NSFW 콘텐츠",
"send_feedback": "피드백 보내기",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "항상 보여주기",
"always_hide": "항상 숨기기",
"always_warn": "항상 경고 표시하기"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "투표자 정보",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Reset",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Voters Info",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Reset",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Voters Info",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Reset",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Voters Info",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Atstatyti",
"nsfw_content": "NSFW Turinys",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Visada rodyti",
"always_hide": "Visada paslėpti",
"always_warn": "Visada įspėti"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Balsuotojo Informacija",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Reset",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Voters Info",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Reset",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Voters Info",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Reset",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Voters Info",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Tetapkan semula",
"nsfw_content": "Kandungan NSFW",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Ranka Pendirian",
"nsfw": {
"always_show": "Benarkan",
"always_hide": "Tutup",
"always_warn": "Beri amaran dahulu"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Info pengundi",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Reset",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Voters Info",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Reset",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Stemmers informatie",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Reset",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Voters Info",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Reset",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Voters Info",

View File

@ -66,12 +66,16 @@
"pincode": "PIN code",
"reset": "Reset",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "People Wey Vote informate",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Reset",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Voters Info",

View File

@ -66,12 +66,16 @@
"pincode": "Código PIN",
"reset": "Reiniciar",
"nsfw_content": "Conteúdo NSFW",
"default_footer": "Default Footer",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Rodapé Padrão",
"nsfw": {
"always_show": "Mostrar sempre",
"always_hide": "Ocultar sempre",
"always_warn": "Avisar sempre"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Informação de eleitores",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Resetare",
"nsfw_content": "Conținut NSFW",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Afisează întotdeauna",
"always_hide": "Ascunde întotdeauna",
"always_warn": "Avertizează întotdeauna"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Detalii votanți",

View File

@ -66,12 +66,16 @@
"pincode": "Пинкод",
"reset": "Сбросить",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Детали голосов",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Reset",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Voters Info",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Reset",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Voters Info",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Reset",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Voters Info",

View File

@ -66,12 +66,16 @@
"pincode": "PIN code",
"reset": "Reset",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Voters Info",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Resetuj",
"nsfw_content": "NSFW sadržaj",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Informacije o glasačima",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Reset",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Voters Info",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Reset",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Voters Info",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Reset",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Voters Info",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Reset",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Voters Info",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Reset",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Voters Info",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Reset",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Voters Info",

View File

@ -66,12 +66,16 @@
"pincode": "Pinkod",
"reset": "Sifirla",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Oy Verenler",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Reset",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Voters Info",

View File

@ -66,12 +66,16 @@
"pincode": "PIN code",
"reset": "Reset",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Voters Info",

View File

@ -66,12 +66,16 @@
"pincode": "PIN code",
"reset": "Reset",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Voters Info",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Reset",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Voters Info",

View File

@ -66,12 +66,16 @@
"pincode": "Mã PIN",
"reset": "Thiết lập lại",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Thông tin người bình chọn",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "Tun bere",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "Alaye nipa oludibo",

View File

@ -66,12 +66,16 @@
"pincode": "Pincode",
"reset": "重置",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "投票者信息",

View File

@ -66,12 +66,16 @@
"pincode": "PIN 碼",
"reset": "重置",
"nsfw_content": "NSFW Content",
"send_feedback": "Send Feedback",
"send": "Send",
"default_footer": "Default Footer",
"nsfw": {
"always_show": "Always show",
"always_hide": "Always hide",
"always_warn": "Always warn"
}
},
"feedback_success": "Email successfully open",
"feedback_fail": "Email client could not open"
},
"voters": {
"voters_info": "投票者訊息",

View File

@ -4,6 +4,7 @@ import { connect } from 'react-redux';
import AppCenter from 'appcenter';
import Push from 'appcenter-push';
import { Client } from 'dsteem';
import VersionNumber from 'react-native-version-number';
// Realm
import {
@ -40,6 +41,7 @@ import { VALUE as CURRENCY_VALUE } from '../../../constants/options/currency';
import { VALUE as LANGUAGE_VALUE } from '../../../constants/options/language';
// Utilities
import { sendEmail } from '../../../utils/sendEmail';
// Component
import SettingsScreen from '../screen/settingsScreen';
@ -205,13 +207,17 @@ class SettingsContainer extends Component {
}
};
_handleButtonPress = (action, actionType) => {
_handleButtonPress = (actionType) => {
const { dispatch, setPinCodeState } = this.props;
switch (actionType) {
case 'pincode':
setPinCodeState({ isReset: true });
dispatch(openPinCodeModal());
break;
case 'feedback':
this._handleSendFeedback();
break;
default:
break;
}
@ -227,10 +233,6 @@ class SettingsContainer extends Component {
this._handleToggleChanged(action, actionType);
break;
case 'button':
this._handleButtonPress(action, actionType);
break;
default:
break;
}
@ -257,6 +259,36 @@ class SettingsContainer extends Component {
}
};
_handleSendFeedback = async () => {
const { dispatch, intl } = this.props;
let message;
await sendEmail(
'bug@esteem.app',
'Feedback/Bug report',
`Write your message here!
App version: ${VersionNumber.buildVersion}
Platform: ${Platform.OS === 'ios' ? 'IOS' : 'Android'}`,
)
.then(() => {
message = 'settings.feedback_success';
})
.catch(() => {
message = 'settings.feedback_fail';
});
if (message) {
dispatch(
toastNotification(
intl.formatMessage({
id: message,
}),
),
);
}
};
render() {
const { serverList, isNotificationMenuOpen } = this.state;
@ -265,6 +297,7 @@ class SettingsContainer extends Component {
serverList={serverList}
handleOnChange={this._handleOnChange}
isNotificationMenuOpen={isNotificationMenuOpen}
handleOnButtonPress={this._handleButtonPress}
{...this.props}
/>
);

View File

@ -52,6 +52,7 @@ class SettingsScreen extends PureComponent {
reblogNotification,
transfersNotification,
voteNotification,
handleOnButtonPress,
} = this.props;
return (
@ -132,7 +133,7 @@ class SettingsScreen extends PureComponent {
})}
type="button"
actionType="pincode"
handleOnChange={handleOnChange}
handleOnButtonPress={handleOnButtonPress}
/>
// <SettingsItem
// title={intl.formatMessage({
@ -223,6 +224,17 @@ class SettingsScreen extends PureComponent {
</CollapsibleCard>
</View>
)}
<SettingsItem
title={intl.formatMessage({
id: 'settings.send_feedback',
})}
text={intl.formatMessage({
id: 'settings.send',
})}
type="button"
actionType="feedback"
handleOnButtonPress={handleOnButtonPress}
/>
</ScrollView>
</Fragment>
);

27
src/utils/sendEmail.js Normal file
View File

@ -0,0 +1,27 @@
import { Linking } from 'react-native';
import qs from 'qs';
export const sendEmail = async (to, subject, body, options = {}) => {
const { cc, bcc } = options;
let url = `mailto:${to}`;
const query = qs.stringify({
subject,
body,
cc,
bcc,
});
if (query.length) {
url += `?${query}`;
}
const canOpen = await Linking.canOpenURL(url);
if (!canOpen) {
throw new Error('Provided URL can not be handled');
}
return Linking.openURL(url);
};