mirror of
https://github.com/bitwarden/mobile
synced 2025-12-05 23:53:33 +00:00
remove .png from selected icon
This commit is contained in:
@@ -62,7 +62,8 @@ namespace Bit.Android.Controls
|
||||
|
||||
if(selected)
|
||||
{
|
||||
var selectedResource = IdFromTitle(string.Format("{0}_selected", icon), ResourceManager.DrawableClass);
|
||||
var selectedIcon = string.Format("{0}_selected", icon.Replace(".png", string.Empty));
|
||||
var selectedResource = IdFromTitle(selectedIcon, ResourceManager.DrawableClass);
|
||||
if(selectedResource != 0)
|
||||
{
|
||||
tab.SetIcon(selectedResource);
|
||||
|
||||
Reference in New Issue
Block a user