// @flow

import {version} from '../package.json'
import {Platform} from 'react-native'

const aaoVersion = version || 'unknown'
const platformString = Platform.OS == 'ios' ? 'iOS' : 'Android' || 'unknown'
const platformVersion = Platform.Version || 'unknown'

export const AAO_USER_AGENT = `AllAboutOlaf/${aaoVersion} (${platformString}/${platformVersion})`

// @flow

import {version} from '../package.json'
import {Platform} from 'react-native'

const aaoVersion = version || 'unknown'
const platformString =
  Platform.OS == 'ios'
    ? 'iOS'
    : Platform.OS == 'android' ? 'Android' : 'unknown'
const platformVersion = Platform.Version || 'unknown'

export const AAO_USER_AGENT = `AllAboutOlaf/${aaoVersion} (${platformString}/${platformVersion})`

Fix ternary logic to actually allow for "unknown" platforms
Fix ternary logic to actually allow for "unknown" platforms

Prettier is strange.
