mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-11-26 09:13:33 +03:00
Merge github.com:esteemapp/esteem-mobile into feature/share
This commit is contained in:
commit
3fdf1da30a
@ -58,6 +58,12 @@
|
||||
<category android:name="android.intent.category.BROWSABLE" />
|
||||
<data android:scheme="https" android:host="peakd.com" />
|
||||
</intent-filter>
|
||||
<intent-filter android:label="Ecency">
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<category android:name="android.intent.category.BROWSABLE" />
|
||||
<data android:scheme="https" android:host="leofinance.io" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
<activity android:name="com.facebook.react.devsupport.DevSettingsActivity" />
|
||||
<meta-data
|
||||
|
@ -84,6 +84,15 @@ const SideMenuView = ({
|
||||
|
||||
const { buildVersion, appVersion } = VersionNumber;
|
||||
|
||||
if (currentAccount.display_name && currentAccount.display_name.length > 8) {
|
||||
currentAccount.display_name = currentAccount.display_name.slice(0, 8);
|
||||
}
|
||||
|
||||
let _username = currentAccount.name;
|
||||
if (currentAccount.name && currentAccount.name.length > 8) {
|
||||
_username = currentAccount.name.slice(0, 8);
|
||||
}
|
||||
|
||||
return (
|
||||
<View style={styles.container}>
|
||||
<LinearGradient
|
||||
@ -102,7 +111,7 @@ const SideMenuView = ({
|
||||
{currentAccount.display_name}
|
||||
</Text>
|
||||
)}
|
||||
<Text style={styles.usernick}>{`@${currentAccount.name}`}</Text>
|
||||
<Text style={styles.usernick}>{`@${_username}`}</Text>
|
||||
</View>
|
||||
|
||||
<View style={styles.userInfoWrapper}>
|
||||
|
@ -16,7 +16,7 @@ import globalStyles from '../../globalStyles';
|
||||
|
||||
const TransactionView = ({ transactions, type, refreshing, setRefreshing, isLoading }) => {
|
||||
const intl = useIntl();
|
||||
const transaction_types = ['ESTM', 'HIVE', 'HBD', 'HP'];
|
||||
const transaction_types = ['Points', 'HIVE', 'HBD', 'HP'];
|
||||
|
||||
const _renderLoading = () => {
|
||||
if (isLoading) {
|
||||
|
@ -79,6 +79,7 @@ export default (url) => {
|
||||
'https://esteem.app',
|
||||
'https://hive.blog',
|
||||
'https://peakd.com',
|
||||
'https://leofinance.io',
|
||||
].some((x) => url.startsWith(x))
|
||||
) {
|
||||
return parseCatAuthorPermlink(url);
|
||||
|
Loading…
Reference in New Issue
Block a user