Skip to content

Commit

Permalink
Merge pull request #1197 from kaloudis/ios-ui-tweaks
Browse files Browse the repository at this point in the history
iOS UI tweaks
  • Loading branch information
kaloudis authored Dec 13, 2022
2 parents 46cef82 + 7a62332 commit a5fcf83
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions components/WalletHeader.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import { Button, Header } from 'react-native-elements';
import { TouchableOpacity, View, Image } from 'react-native';
import { Image, Platform, TouchableOpacity, View } from 'react-native';
import { inject, observer } from 'mobx-react';
import Clipboard from '@react-native-clipboard/clipboard';

Expand Down Expand Up @@ -147,7 +147,11 @@ export default class WalletHeader extends React.Component<
/>
</View>
)}
<View style={{ marginTop: 15 }}>
<View
style={{
marginTop: Platform.OS === 'ios' ? 9 : 15
}}
>
<ScanBadge navigation={navigation} />
</View>
</View>
Expand Down
2 changes: 1 addition & 1 deletion utils/DateTimeUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class DateTimeUtils {
};

listFormattedDateShort = (timestamp: number | string) =>
this.listFormattedDate(timestamp, "mmmm d 'yy");
this.listFormattedDate(timestamp, "mmm d 'yy");
}

const dateTimeUtils = new DateTimeUtils();
Expand Down

0 comments on commit a5fcf83

Please sign in to comment.