This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as types from '../actions/types'; | |
const INITIAL_STATE = { | |
modalOpen: false, | |
}; | |
export default (state = INITIAL_STATE, { type }) => { | |
switch (type) { | |
case types.MODAL_OPEN: | |
return { modalOpen: true }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
import MenuItem from 'material-ui/MenuItem'; | |
import PropTypes from 'prop-types'; | |
import { connect } from 'react-redux'; | |
import { Helmet } from 'react-helmet'; | |
import moment from 'moment'; | |
import updateUser from '../../actions/mutations/updateUser'; | |
import updateUserPassword from '../../actions/mutations/updateUserPassword'; | |
import logoutUser from '../../actions/aux/logoutUser'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: "com.android.application" | |
import com.android.build.OutputFile | |
/** | |
* The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets | |
* and bundleReleaseJsAndAssets). | |
* These basically call `react-native bundle` with the correct arguments during the Android build | |
* cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the | |
* bundle directly from the development server. Below you can see all the possible configurations |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import axios from "axios"; | |
const uriHeroku = "https://waves-ws.herokuapp.com"; | |
const uriWaves = "https://testnode1.wavesnodes.com"; | |
_newWalet = async () => { | |
try { | |
const response = await axios.get(`${uriHeroku}/new`); | |
const wallet = response.data; | |
//console.log(wallet); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
import { View, Text, Image, FlatList, TouchableOpacity , StyleSheet } from 'react-native'; | |
import DashboardHeader from '@components/DashboardHeader'; | |
import FloatMenu from '@components/FloatMenu'; | |
import getSymbolFromCurrency from 'currency-symbol-map'; | |
import cs from '@theme/CommonStyle'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from "react"; | |
import { View, Text, TouchableOpacity, StyleSheet } from "react-native"; | |
import { Container, Button, Icon } from "native-base"; | |
import { CalendarList} from "react-native-calendars"; | |
import eachDay from "date-fns/each_day"; | |
import format from "date-fns/format"; | |
import styles from "./styles"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from "react"; | |
import { View, Text} from "react-native"; | |
import { Container, Button, Icon, CheckBox} from "native-base"; | |
import styles from "./styles"; | |
const services = [ | |
{ | |
id: 1, | |
name: "Design", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as React from 'react'; | |
import _ from 'lodash'; | |
import { TabNavigator } from 'react-navigation'; | |
import { Image, TouchableOpacity, Platform } from 'react-native'; | |
import {Text, Footer, FooterTab, Icon } from "native-base"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import { Container, Text } from 'native-base'; | |
import ScreenComponent from '../components/screen-component'; | |
import i18n from '../services/i18n'; | |
import FeedList from '../components/feed-list'; | |
import FallowTag from '../components/fallow-tag'; | |
class PolemitagFeed extends ScreenComponent { |