feat: add StoreForward `is_server` config

pull/1161/head
andrekir 2024-07-28 09:49:36 -03:00
rodzic cbd33f2c0c
commit 2e5d6db8b6
1 zmienionych plików z 9 dodań i 0 usunięć

Wyświetl plik

@ -79,6 +79,15 @@ fun StoreForwardConfigItemList(
})
}
item {
SwitchPreference(
title = "Server",
checked = storeForwardInput.isServer,
enabled = enabled,
onCheckedChange = { storeForwardInput = storeForwardInput.copy { isServer = it } })
}
item { Divider() }
item {
PreferenceFooter(
enabled = storeForwardInput != storeForwardConfig,