From 66809b6a8e3d60fbd98ddc25739fb81eb2fffc30 Mon Sep 17 00:00:00 2001 From: Kieran W <41634689+FredHappyface@users.noreply.github.com> Date: Thu, 7 Sep 2023 19:33:34 +0100 Subject: [PATCH] linting fixes, cleanup and other code improvements --- .idea/inspectionProfiles/Project_Default.xml | 33 ++------------- app/build.gradle.kts | 16 +++++--- .../fredhappyface/ewesticker/ImageKeyboard.kt | 14 ++++++- .../fredhappyface/ewesticker/MainActivity.kt | 2 +- .../ewesticker/utilities/SharedPrefHelper.kt | 25 ------------ app/src/main/res/layout/activity_main.xml | 3 +- app/src/main/res/layout/keyboard_layout.xml | 1 - app/src/main/res/layout/sticker_preview.xml | 3 +- app/src/main/res/resources.properties | 1 + app/src/main/res/values-ar/strings.xml | 6 ++- app/src/main/res/values-bn/strings.xml | 6 ++- app/src/main/res/values-de/strings.xml | 6 ++- app/src/main/res/values-es/strings.xml | 6 ++- app/src/main/res/values-fr/strings.xml | 40 ++++++++++--------- app/src/main/res/values-hi/strings.xml | 2 + app/src/main/res/values-in/strings.xml | 2 + app/src/main/res/values-ja/strings.xml | 2 + app/src/main/res/values-ko/strings.xml | 3 +- app/src/main/res/values-pt/strings.xml | 3 +- app/src/main/res/values-ru/strings.xml | 2 + app/src/main/res/values-ur/strings.xml | 3 +- app/src/main/res/values-zh-rCN/strings.xml | 3 +- app/src/main/res/values-zh-rTW/strings.xml | 3 +- app/src/main/res/values/strings.xml | 6 ++- build.gradle.kts | 2 +- readme-assets/icons/EweSticker_mono.svg | 2 +- 26 files changed, 90 insertions(+), 105 deletions(-) delete mode 100644 app/src/main/java/com/fredhappyface/ewesticker/utilities/SharedPrefHelper.kt create mode 100644 app/src/main/res/resources.properties diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml index e035a90..085bd48 100644 --- a/.idea/inspectionProfiles/Project_Default.xml +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -40,7 +40,6 @@ - @@ -51,6 +50,7 @@ + @@ -71,7 +71,6 @@ - @@ -82,11 +81,9 @@ - - @@ -112,7 +109,6 @@ - @@ -223,7 +219,6 @@ - @@ -231,7 +226,6 @@ - @@ -270,9 +264,6 @@ - - @@ -288,12 +279,10 @@ - - @@ -332,11 +321,9 @@ - -