From cb1d4071e4726b1d8af4504e44bd841265678974 Mon Sep 17 00:00:00 2001
From: Taras Smakula <tarassmakula@gmail.com>
Date: Fri, 14 Jul 2023 18:14:06 +0300
Subject: [PATCH] Add setting items styles

---
 app/src/main/res/values/styles.xml      | 20 --------------------
 settings/src/main/res/values/styles.xml | 24 ++++++++++++++++++++++++
 2 files changed, 24 insertions(+), 20 deletions(-)
 create mode 100644 settings/src/main/res/values/styles.xml

diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml
index f9c0f9817..441eb39bc 100644
--- a/app/src/main/res/values/styles.xml
+++ b/app/src/main/res/values/styles.xml
@@ -7,26 +7,6 @@
         <item name="android:letterSpacing">0.0125</item>
     </style>
 
-    <style name="settingMenuItem" parent="body">
-        <item name="android:background">?attr/selectableItemBackground</item>
-        <item name="android:clickable">true</item>
-        <item name="android:focusable">true</item>
-        <item name="android:drawablePadding">8dp</item>
-        <item name="android:paddingBottom">10dp</item>
-        <item name="android:paddingStart">16dp</item>
-        <item name="android:paddingEnd">16dp</item>
-        <item name="android:paddingTop">10dp</item>
-        <item name="android:drawableTint">@color/list_item_icon_color</item>
-    </style>
-
-    <style name="settingMenuHeader" parent="subheadline">
-        <item name="android:textColor">@color/blue</item>
-        <item name="android:paddingBottom">8dp</item>
-        <item name="android:paddingStart">16dp</item>
-        <item name="android:paddingEnd">16dp</item>
-        <item name="android:paddingTop">16dp</item>
-    </style>
-
 
     <style name="ShapeAppearanceOverlay.App.Message" parent="">
         <item name="cornerSizeTopRight">10dp</item>
diff --git a/settings/src/main/res/values/styles.xml b/settings/src/main/res/values/styles.xml
new file mode 100644
index 000000000..523cb6286
--- /dev/null
+++ b/settings/src/main/res/values/styles.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+
+    <style name="settingMenuItem" parent="body">
+        <item name="android:background">?attr/selectableItemBackground</item>
+        <item name="android:clickable">true</item>
+        <item name="android:focusable">true</item>
+        <item name="android:drawablePadding">8dp</item>
+        <item name="android:paddingBottom">10dp</item>
+        <item name="android:paddingStart">16dp</item>
+        <item name="android:paddingEnd">16dp</item>
+        <item name="android:paddingTop">10dp</item>
+        <item name="android:drawableTint">@color/list_item_icon_color</item>
+    </style>
+
+    <style name="settingMenuHeader" parent="subheadline">
+        <item name="android:textColor">@color/blue</item>
+        <item name="android:paddingBottom">8dp</item>
+        <item name="android:paddingStart">16dp</item>
+        <item name="android:paddingEnd">16dp</item>
+        <item name="android:paddingTop">16dp</item>
+    </style>
+
+</resources>
\ No newline at end of file
-- 
GitLab