diff --git a/app/src/main/java/com/zaneschepke/wireguardautotunnel/ui/common/SearchBar.kt b/app/src/main/java/com/zaneschepke/wireguardautotunnel/ui/common/SearchBar.kt
index e4302f5..fc774ea 100644
--- a/app/src/main/java/com/zaneschepke/wireguardautotunnel/ui/common/SearchBar.kt
+++ b/app/src/main/java/com/zaneschepke/wireguardautotunnel/ui/common/SearchBar.kt
@@ -44,19 +44,21 @@ fun SearchBar(onQuery: (queryString: String) -> Unit) {
onQuery(onQueryChanged)
},
leadingIcon = {
+ val icon = Icons.Rounded.Search
Icon(
- imageVector = Icons.Rounded.Search,
+ imageVector = icon,
tint = MaterialTheme.colorScheme.onBackground,
- contentDescription = stringResource(id = R.string.search_icon),
+ contentDescription = icon.name,
)
},
trailingIcon = {
if (showClearIcon) {
IconButton(onClick = { query = "" }) {
+ val icon = Icons.Rounded.Clear
Icon(
- imageVector = Icons.Rounded.Clear,
+ imageVector = icon,
tint = MaterialTheme.colorScheme.onBackground,
- contentDescription = stringResource(id = R.string.clear_icon),
+ contentDescription = icon.name,
)
}
}
diff --git a/app/src/main/res/values-cs/strings.xml b/app/src/main/res/values-cs/strings.xml
index adbdfbf..bcdddd6 100644
--- a/app/src/main/res/values-cs/strings.xml
+++ b/app/src/main/res/values-cs/strings.xml
@@ -24,7 +24,6 @@
Povolit trvalé připojení VPN
Služby polohy nebyly detekovány
Hledat balíčky
- Smazat ikonu
Pokus o připojení...
VPN se spouští
VPN zapnuto
@@ -105,7 +104,6 @@
Povolené IP adresy
Název
Restartovat tunel
- Hledat ikonu
Skenování QR
Žádné názvy důvěryhodných Wi-Fi
Ostatní
diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml
index 91ac507..700feae 100644
--- a/app/src/main/res/values-de/strings.xml
+++ b/app/src/main/res/values-de/strings.xml
@@ -12,7 +12,6 @@
Auto-Tunneln stoppen
Ok
Tunnel für Ethernet
- Symbol suchen
Verbindungsversuch..
Auto-Tunneln
Primärer VPN aus
@@ -55,7 +54,6 @@
Always-On VPN erlauben
Standortdienste nicht erkannt
Pakete suchen
- Symbol löschen
VPN startet
wg-tunnel-db
Scanne nach QR
diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml
index 6ffa8a4..0f1fe82 100644
--- a/app/src/main/res/values-es/strings.xml
+++ b/app/src/main/res/values-es/strings.xml
@@ -72,7 +72,6 @@
Permitir VPN siempre-activada
Servicios de Ubicación No Detectados
Buscar paquetes
- Icono claro
Intentando conexión...
Iniciando VPN
wg-tunnel-db
@@ -106,7 +105,6 @@
Puerto de escucha
Clave previamente compartida
Keepalive persistente
- Icono de búsqueda
Leer documentación
Envíame un email
Si tienes problemas, ideas para mejoras, o simlemente comprometerte, tienes disponibles los siguientes recursos:
diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml
index c503b97..a0d3849 100644
--- a/app/src/main/res/values-ru/strings.xml
+++ b/app/src/main/res/values-ru/strings.xml
@@ -59,7 +59,6 @@
Отмена
Посмотреть документацию
Присоединиться к сообществу
- Значок очистки
Отправить письмо
Добавить доверенное имя сети Wi-Fi
включено
@@ -97,7 +96,6 @@
Введите SSID
Добавить из файла или архива
Сервисы местоположения не обнаружены
- Значок поиска
Попытка соединения…
Поиск QR-кода
Нет доверенных имён Wi-Fi
diff --git a/app/src/main/res/values-tr/strings.xml b/app/src/main/res/values-tr/strings.xml
index 8eaacd3..fd4f1d8 100644
--- a/app/src/main/res/values-tr/strings.xml
+++ b/app/src/main/res/values-tr/strings.xml
@@ -59,8 +59,6 @@
Her Zaman Açık VPN\'e İzin Ver
Konum Hizmetleri Algılanmadı
Uygulama arayın
- Simgeyi Temizle
- Simge Ara
Bağlantı kurulmaya çalışılıyor..
VPN başlatılıyor
wg-tunnel-db
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index ded5d91..e69a230 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -58,8 +58,6 @@
Allow Always-On VPN
Location Services Not Detected
Search packages
- Clear Icon
- Search Icon
Attempting connection..
VPN starting
wg-tunnel-db