fix(preferences): invalid icon for 'Tab size' preference

This commit is contained in:
Akash Yadav
2023-12-21 18:44:22 +05:30
parent 9accf4d20c
commit 7b79d30a2b
2 changed files with 27 additions and 1 deletions
@@ -169,7 +169,7 @@ private class TabSize(
override val key: String = TAB_SIZE,
override val title: Int = string.title_tab_size,
override val summary: Int? = string.msg_tab_size,
override val icon: Int? = drawable.ic_font_ligatures,
override val icon: Int? = drawable.ic_tab,
) : SingleChoicePreference() {
@IgnoredOnParcel
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?><!--
~ This file is part of AndroidIDE.
~
~ AndroidIDE is free software: you can redistribute it and/or modify
~ it under the terms of the GNU General Public License as published by
~ the Free Software Foundation, either version 3 of the License, or
~ (at your option) any later version.
~
~ AndroidIDE is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ GNU General Public License for more details.
~
~ You should have received a copy of the GNU General Public License
~ along with AndroidIDE. If not, see <https://www.gnu.org/licenses/>.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:height="24dp"
android:viewportHeight="24"
android:viewportWidth="24"
android:width="24dp">
<path
android:fillColor="#000000"
android:pathData="M20,18H22V6H20M11.59,7.41L15.17,11H1V13H15.17L11.59,16.58L13,18L19,12L13,6L11.59,7.41Z" />
</vector>