Front: add Button to Download APK From Web

This commit is contained in:
Arthur Jamet
2023-12-25 19:14:14 +01:00
committed by Clément Le Bihan
parent e85a959c26
commit 2dc301addf
4 changed files with 33 additions and 3 deletions
+3 -1
View File
@@ -10,7 +10,8 @@ import { Google, PasswordCheck, SmsEdit, UserSquare, Verify } from 'iconsax-reac
import ChangeEmailForm from '../../components/forms/changeEmailForm';
import ChangePasswordForm from '../../components/forms/changePasswordForm';
import LogoutButtonCC from '../../components/UI/LogoutButtonCC';
import { ScrollView } from 'react-native';
import { Platform, ScrollView } from 'react-native';
import APKDownloadButton from '../../components/APKDownloadButton';
const handleChangeEmail = async (newEmail: string): Promise<string> => {
await API.updateUserEmail(newEmail);
@@ -162,6 +163,7 @@ const ProfileSettings = () => {
},
]}
/>
{ Platform.OS === "web" && <APKDownloadButton/> }
<LogoutButtonCC isGuest={user.isGuest} buttonType={'filled'} />
</Column>
</ScrollView>