fix(settings): guard empty-token copy, search platform filter and clear button

This commit is contained in:
Gauvain
2026-06-04 00:00:08 +02:00
parent ac5dcbe751
commit f56b2bc4eb
4 changed files with 10 additions and 2 deletions

View File

@@ -38,6 +38,7 @@ export default function AccountPage() {
title={t("home.settings.account.copy_token")}
textColor='blue'
onPress={async () => {
if (!token) return;
await setStringAsync(token);
success();
Alert.alert(t("home.settings.account.copied"));