Skip to content

Commit a4b3d5b

Browse files
committed
Clean up
1 parent 9e1a560 commit a4b3d5b

File tree

5 files changed

+2
-16
lines changed

5 files changed

+2
-16
lines changed

common/src/main/kotlin/com/w2sv/common/enums/WifiProperty.kt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,6 @@ enum class WifiProperty(
6868
R.array.netmask,
6969
{ getNetmask() }
7070
);
71-
// @SuppressLint("HardwareIds")
72-
// MacAddress(
73-
// R.string.mac_address,
74-
// R.array.mac_address,
75-
// { it.connectionInfo.macAddress }
76-
// );
7771

7872
override val preferencesKey: Preferences.Key<Boolean> = booleanPreferencesKey(name)
7973
}

common/src/main/res/values/string_arrays.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,4 @@
3535
<item>Also referred to as subnet mask. A bitmask determining the subnetwork within which the DHCP may operate.</item>
3636
<item>https://en.wikipedia.org/wiki/Subnetwork</item>
3737
</string-array>
38-
<!-- <string-array name="mac_address">-->
39-
<!-- <item>Media Access Control Address. MAC Addresses are unique identifiers, used to identify devices connected to a network. As they are predominantly assigned by device manufacturers, they are often referred to as burned-in address, hardware address, or physical address.</item>-->
40-
<!-- <item>https://en.wikipedia.org/wiki/MAC_address</item>-->
41-
<!-- </string-array>-->
4238
</resources>

common/src/main/res/values/strings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
<string name="dns">DNS</string>
1515
<string name="dhcp">DHCP</string>
1616
<string name="netmask">Netmask</string>
17-
<!-- <string name="mac_address">MAC Address</string>-->
1817

1918
<string name="refresh_periodically">Periodically refresh data</string>
2019
<string name="refresh_on_low_battery">Refresh on low battery</string>
@@ -23,4 +22,5 @@
2322
<string name="refresh_data">Refresh data</string>
2423
<string name="no_wifi_connection">No WiFi Connection</string>
2524
<string name="wifi_disabled">WiFi Disabled</string>
25+
<string name="widget_pinning_not_supported_by_your_device_launcher">Widget pinning not supported by your device launcher</string>
2626
</resources>

widget/src/main/kotlin/com/w2sv/widget/WidgetProvider.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class WidgetProvider : AppWidgetProvider() {
3838
null
3939
)
4040

41-
false -> context.showToast(R.string.widget_pinning_not_supported_by_your_device_launcher)
41+
false -> context.showToast(com.w2sv.common.R.string.widget_pinning_not_supported_by_your_device_launcher)
4242
}
4343
}
4444
}

widget/src/main/res/values/strings.xml

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)