diff --git a/mobile/res/drawable-hdpi/ic_action_data_usage.png b/mobile/res/drawable-hdpi/ic_action_data_usage.png new file mode 100644 index 00000000..f0f83a02 Binary files /dev/null and b/mobile/res/drawable-hdpi/ic_action_data_usage.png differ diff --git a/mobile/res/drawable-mdpi/ic_action_data_usage.png b/mobile/res/drawable-mdpi/ic_action_data_usage.png new file mode 100644 index 00000000..02ebf1eb Binary files /dev/null and b/mobile/res/drawable-mdpi/ic_action_data_usage.png differ diff --git a/mobile/res/drawable-xhdpi/ic_action_data_usage.png b/mobile/res/drawable-xhdpi/ic_action_data_usage.png new file mode 100644 index 00000000..487f4f82 Binary files /dev/null and b/mobile/res/drawable-xhdpi/ic_action_data_usage.png differ diff --git a/mobile/res/drawable-xxhdpi/ic_action_data_usage.png b/mobile/res/drawable-xxhdpi/ic_action_data_usage.png new file mode 100644 index 00000000..76631a4d Binary files /dev/null and b/mobile/res/drawable-xxhdpi/ic_action_data_usage.png differ diff --git a/plugins/portal-counts.user.js b/plugins/portal-counts.user.js index f1deeaef..520e0514 100644 --- a/plugins/portal-counts.user.js +++ b/plugins/portal-counts.user.js @@ -2,7 +2,7 @@ // @id iitc-plugin-portals-count@yenky // @name IITC plugin: Show total counts of portals // @category Info -// @version 0.0.9.@@DATETIMEVERSION@@ +// @version 0.0.10.@@DATETIMEVERSION@@ // @namespace https://github.com/jonatkins/ingress-intel-total-conversion // @updateURL @@UPDATEURL@@ // @downloadURL @@DOWNLOADURL@@ @@ -19,15 +19,16 @@ // PLUGIN START //////////////////////////////////////////////////////// /* whatsnew -* 0.0.8 : use dialog() instead of alert() -* 0.0.6 : ignoring outside bounds portals (even if close to) -* 0.0.5 : changed table layout, added some colors -* 0.0.4 : reverse show order of portals, using MAX_PORTAL_LEVEL now for array, changed table layout to be more compact, cleaned up code -* 0.0.3 : fixed incorrect rounded portal levels, adjusted viewport -* 0.0.2 : fixed counts to be reset after scrolling -* 0.0.1 : initial release, show count of portals -* todo : -*/ +* 0.0.10 : show in nav drawer on mobile devices +* 0.0.9 : fix for new intel map +* 0.0.8 : use dialog() instead of alert() +* 0.0.6 : ignoring outside bounds portals (even if close to) +* 0.0.5 : changed table layout, added some colors +* 0.0.4 : reverse show order of portals, using MAX_PORTAL_LEVEL now for array, changed table layout to be more compact, cleaned up code +* 0.0.3 : fixed incorrect rounded portal levels, adjusted viewport +* 0.0.2 : fixed counts to be reset after scrolling +* 0.0.1 : initial release, show count of portals +*/ // use own namespace for plugin window.plugin.portalcounts = function() {}; @@ -97,17 +98,39 @@ window.plugin.portalcounts.getPortals = function(){ counts += '