mirror of
https://github.com/selfxyz/self.git
synced 2026-04-05 03:00:53 -04:00
small collection bugfixes for two point nine (#1446)
* fix addhaar typo * consolidate mobile app links and add tests * fix caching issues for pipelines * fix gitleaks * update binary merkle root.circom package source * fix cache * update path * rename lockfile * fix qrcode error * fix mobile ci tests and prettier * fix qr code typing * fix qrcode pipelines * fix integration test
This commit is contained in:
@@ -6,6 +6,8 @@ import React from 'react';
|
||||
import { Platform } from 'react-native';
|
||||
import { Anchor, styled } from 'tamagui';
|
||||
|
||||
import { androidBackupDocsUrl, appleICloudDocsUrl } from '@/consts/links';
|
||||
|
||||
const StyledAnchor = styled(Anchor, {
|
||||
fontSize: 15,
|
||||
fontFamily: 'DINOT-Medium',
|
||||
@@ -15,16 +17,13 @@ const StyledAnchor = styled(Anchor, {
|
||||
const BackupDocumentationLink: React.FC = () => {
|
||||
if (Platform.OS === 'ios') {
|
||||
return (
|
||||
<StyledAnchor unstyled href="https://support.apple.com/en-us/102651">
|
||||
<StyledAnchor unstyled href={appleICloudDocsUrl}>
|
||||
iCloud data
|
||||
</StyledAnchor>
|
||||
);
|
||||
}
|
||||
return (
|
||||
<StyledAnchor
|
||||
unstyled
|
||||
href="https://developer.android.com/identity/data/autobackup"
|
||||
>
|
||||
<StyledAnchor unstyled href={androidBackupDocsUrl}>
|
||||
Android Backup
|
||||
</StyledAnchor>
|
||||
);
|
||||
|
||||
@@ -21,6 +21,7 @@ import CogHollowIcon from '@/assets/icons/cog_hollow.svg';
|
||||
import PlusCircleIcon from '@/assets/icons/plus_circle.svg';
|
||||
import ScanIcon from '@/assets/icons/qr_scan.svg';
|
||||
import { NavBar } from '@/components/navbar/BaseNavBar';
|
||||
import { apiBaseUrl } from '@/consts/links';
|
||||
import { buttonTap } from '@/integrations/haptics';
|
||||
import { extraYPadding } from '@/utils/styleUtils';
|
||||
|
||||
@@ -40,7 +41,7 @@ export const HomeNavBar = (props: NativeStackHeaderProps) => {
|
||||
if (uuidRegex.test(content)) {
|
||||
try {
|
||||
const response = await fetch(
|
||||
`https://api.self.xyz/consume-deferred-linking-token?token=${content}`,
|
||||
`${apiBaseUrl}/consume-deferred-linking-token?token=${content}`,
|
||||
);
|
||||
const result = await response.json();
|
||||
if (result.status !== 'success') {
|
||||
|
||||
@@ -29,6 +29,7 @@ import StarBlackIcon from '@/assets/icons/star_black.svg';
|
||||
import LogoInversed from '@/assets/images/logo_inversed.svg';
|
||||
import MajongImage from '@/assets/images/majong.png';
|
||||
import { PointHistoryList } from '@/components/PointHistoryList';
|
||||
import { appsUrl } from '@/consts/links';
|
||||
import { useIncomingPoints, usePoints } from '@/hooks/usePoints';
|
||||
import { usePointsGuardrail } from '@/hooks/usePointsGuardrail';
|
||||
import type { RootStackParamList } from '@/navigation';
|
||||
@@ -428,7 +429,7 @@ const Points: React.FC = () => {
|
||||
onPress={() => {
|
||||
selfClient.trackEvent(PointEvents.EXPLORE_APPS);
|
||||
navigation.navigate('WebView', {
|
||||
url: 'https://apps.self.xyz',
|
||||
url: appsUrl,
|
||||
title: 'Explore Apps',
|
||||
});
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user