fix lock icon for retina displays

This commit is contained in:
Denys Vuika
2019-02-05 20:51:13 +00:00
parent 913685eb14
commit 455866a98e
3 changed files with 2 additions and 1 deletions

View File

@@ -143,7 +143,7 @@ export abstract class PageComponent implements OnInit, OnDestroy {
PageComponent.isLockedNode(entry) || PageComponent.isLockedNode(entry) ||
PageComponent.isWriteLockedNode(entry) PageComponent.isWriteLockedNode(entry)
) { ) {
return 'assets/images/ic_lock_black_24dp_1x.png'; return 'assets/images/baseline-lock-24px.svg';
} }
if (PageComponent.isLibrary(entry)) { if (PageComponent.isLibrary(entry)) {

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M0 0h24v24H0z" fill="none"/><path d="M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z"/></svg>

After

Width:  |  Height:  |  Size: 363 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 205 B