From f16d235cab76b918a0951c564b50b26124c79560 Mon Sep 17 00:00:00 2001 From: Mygod Date: Wed, 27 May 2020 21:54:04 -0400 Subject: [PATCH] Add icon for deprecated TetherType.WIMAX Despite this will never be used, it is good to use a separate icon just to be clear. --- .../main/java/be/mygod/vpnhotspot/net/TetherType.kt | 3 ++- mobile/src/main/res/drawable/ic_action_contactless.xml | 10 ++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 mobile/src/main/res/drawable/ic_action_contactless.xml diff --git a/mobile/src/main/java/be/mygod/vpnhotspot/net/TetherType.kt b/mobile/src/main/java/be/mygod/vpnhotspot/net/TetherType.kt index 00673aaf..2e4ac67f 100644 --- a/mobile/src/main/java/be/mygod/vpnhotspot/net/TetherType.kt +++ b/mobile/src/main/java/be/mygod/vpnhotspot/net/TetherType.kt @@ -11,7 +11,8 @@ enum class TetherType { val icon get() = when (this) { USB -> R.drawable.ic_device_usb WIFI_P2P -> R.drawable.ic_action_settings_input_antenna - WIFI, WIMAX -> R.drawable.ic_device_network_wifi + WIFI -> R.drawable.ic_device_network_wifi + WIMAX -> R.drawable.ic_action_contactless BLUETOOTH -> R.drawable.ic_device_bluetooth else -> R.drawable.ic_device_wifi_tethering } diff --git a/mobile/src/main/res/drawable/ic_action_contactless.xml b/mobile/src/main/res/drawable/ic_action_contactless.xml new file mode 100644 index 00000000..00a0d8a1 --- /dev/null +++ b/mobile/src/main/res/drawable/ic_action_contactless.xml @@ -0,0 +1,10 @@ + + +