mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-06-04 13:08:33 +01:00
fix(settings): guard empty-token copy, search platform filter and clear button
This commit is contained in:
@@ -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"));
|
||||
|
||||
Reference in New Issue
Block a user