diff --git a/apps/rebreak-native/app/devices.tsx b/apps/rebreak-native/app/devices.tsx
index 854b8db..6bc25dc 100644
--- a/apps/rebreak-native/app/devices.tsx
+++ b/apps/rebreak-native/app/devices.tsx
@@ -132,21 +132,6 @@ function MobileDeviceRow({
: null;
const releaseActive = !!releaseAt && new Date(releaseAt).getTime() > Date.now();
- function confirmRemove() {
- Alert.alert(
- t('settings.devices_remove_title'),
- t('settings.devices_remove_desc'),
- [
- { text: t('common.cancel'), style: 'cancel' },
- {
- text: t('settings.devices_remove_confirm'),
- style: 'destructive',
- onPress: () => onRemove(device.id),
- },
- ]
- );
- }
-
function confirmRequestRelease() {
Alert.alert(
t('devices.release_request_title'),
@@ -301,7 +286,7 @@ function MobileDeviceRow({
- {device.isCurrent ? null : releaseActive ? (
+ {releaseActive ? (
) : (
+ // Entfernen passiert am Gerät selbst (Cooldown), nicht aus der Liste —
+ // Pfeil öffnet nur das Info-/Detail-Sheet.
-
+
)}
@@ -367,31 +354,6 @@ function ProtectedDeviceRow({
});
}
- const menuActions = device.status === 'pending'
- ? [
- { id: 'remove', title: t('settings.devices_remove_confirm'), attributes: { destructive: true } },
- ]
- : [
- { id: 'remove', title: t('settings.devices_remove_confirm'), attributes: { destructive: true } },
- ];
-
- function handleMenuSelect(id: string) {
- if (id === 'remove') {
- Alert.alert(
- t('devices.remove_warning_title'),
- t('devices.remove_warning_body'),
- [
- { text: t('common.cancel'), style: 'cancel' },
- {
- text: t('settings.devices_remove_confirm'),
- style: 'destructive',
- onPress: () => onRemove(device.id),
- },
- ]
- );
- }
- }
-
return (
- handleMenuSelect(event)}
- shouldOpenOnLongPress={false}
- >
-
-
-
-
+ {/* Kein Entfernen aus der Liste — Pfeil öffnet nur das Detail-Sheet. */}
+
+
+
);
}