From 4bb254ff833aa096f540a198b96cb68a939ae9c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C9=91rry=20Shiv=C9=91m?= Date: Sat, 25 May 2024 06:53:53 +0530 Subject: [PATCH] feat: Add launcher shortcuts for quick access to some functionalities (#139) Also added website link in about page & optimized miui check method --------- Signed-off-by: starry-shivam --- .idea/deploymentTargetSelector.xml | 4 +- app/src/main/AndroidManifest.xml | 6 ++ .../com/starry/greenstash/MainActivity.kt | 53 ++++++++++++++ .../com/starry/greenstash/MainViewModel.kt | 71 +++++++++++++++++-- .../settings/composables/AboutScreen.kt | 17 +++++ .../java/com/starry/greenstash/utils/Utils.kt | 4 ++ .../starry/greenstash/widget/GoalWidget.kt | 15 ++-- .../res/drawable/ic_shortcut_new_goal.xml | 12 ++++ app/src/main/res/values-es/strings.xml | 2 + app/src/main/res/values-it/strings.xml | 2 + app/src/main/res/values-pt/strings.xml | 2 + app/src/main/res/values-ru/strings.xml | 2 + app/src/main/res/values-tr/strings.xml | 2 + app/src/main/res/values-zh-rCN/strings.xml | 2 + app/src/main/res/values-zh-rTW/strings.xml | 2 + app/src/main/res/values/strings.xml | 2 + 16 files changed, 183 insertions(+), 15 deletions(-) create mode 100644 app/src/main/res/drawable/ic_shortcut_new_goal.xml diff --git a/.idea/deploymentTargetSelector.xml b/.idea/deploymentTargetSelector.xml index 1ccfe959..f65eb544 100644 --- a/.idea/deploymentTargetSelector.xml +++ b/.idea/deploymentTargetSelector.xml @@ -4,10 +4,10 @@