Skip to content

Commit abc041d

Browse files
committed
Remove supportingContent click from Clear Storage setting
1 parent 4b53f19 commit abc041d

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

composeApp/src/commonMain/kotlin/org/ooni/probe/domain/GetSettings.kt

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -272,21 +272,7 @@ class GetSettings(
272272
key = SettingsKey.STORAGE_SIZE,
273273
type = PreferenceItemType.BUTTON,
274274
supportingContent = {
275-
var showDialog by remember { mutableStateOf(false) }
276-
if (showDialog) {
277-
ClearStorageDialog(
278-
onClose = { showDialog = false },
279-
fullReset = true,
280-
)
281-
}
282-
283-
Text(
284-
storageUsed.formatDataUsage(),
285-
modifier = Modifier.combinedClickable(
286-
onClick = {},
287-
onLongClick = { showDialog = true },
288-
),
289-
)
275+
Text(storageUsed.formatDataUsage())
290276
},
291277
trailingContent = {
292278
var showDialog by remember { mutableStateOf(false) }

0 commit comments

Comments
 (0)