// @flow import moment from 'moment'; import React from 'react'; import { Component, Text, View } from 'reactxp'; import { Button } from './styled'; import { Layout, Container, Header } from './Layout'; import CustomScrollbars from './CustomScrollbars'; import styles from './SettingsStyles'; import Img from './Img'; import type { AccountReduxState } from '../redux/account/reducers'; import type { SettingsReduxState } from '../redux/settings/reducers'; export type SettingsProps = { account: AccountReduxState, settings: SettingsReduxState, onQuit: () => void, onClose: () => void, onViewAccount: () => void, onViewSupport: () => void, onViewPreferences: () => void, onViewAdvancedSettings: () => void, onExternalLink: (type: string) => void }; export default class Settings extends Component { props: SettingsProps; render() { return (