diff --git a/app/build.gradle b/app/build.gradle
index 8d95c16..9748185 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -9,8 +9,8 @@ android {
applicationId "com.pavelrekun.rekado"
minSdkVersion minimumSDKVersion
targetSdkVersion currentSDKVersion
- versionCode 37
- versionName "2.6.2"
+ versionCode 38
+ versionName "2.6.3"
}
buildTypes {
diff --git a/app/libs/siga.aar b/app/libs/siga.aar
index a97a392..fcf2c89 100644
Binary files a/app/libs/siga.aar and b/app/libs/siga.aar differ
diff --git a/app/src/main/assets/hekate.bin b/app/src/main/assets/hekate.bin
index a81603a..698d923 100644
Binary files a/app/src/main/assets/hekate.bin and b/app/src/main/assets/hekate.bin differ
diff --git a/app/src/main/java/com/pavelrekun/rekado/RekadoApplication.kt b/app/src/main/java/com/pavelrekun/rekado/RekadoApplication.kt
index 6067d73..ac985fd 100644
--- a/app/src/main/java/com/pavelrekun/rekado/RekadoApplication.kt
+++ b/app/src/main/java/com/pavelrekun/rekado/RekadoApplication.kt
@@ -4,7 +4,7 @@ import android.annotation.SuppressLint
import android.app.Application
import com.pavelrekun.rekado.services.logs.LogHelper
import com.pavelrekun.rekado.services.payloads.PayloadHelper
-import com.pavelrekun.siga.data.AccentColor
+import com.pavelrekun.siga.data.Color
import com.pavelrekun.siga.data.Theme
import com.pavelrekun.siga.services.Siga
import io.paperdb.Paper
@@ -30,7 +30,7 @@ class RekadoApplication : Application() {
}
private fun configureThemeEngine() {
- val defaultSetup = Siga.createDefaults().theme(Theme.DARK_DEFAULT).accentColor(AccentColor.LIGHT_BLUE_500)
+ val defaultSetup = Siga.createDefaults().theme(Theme.DARK_DEFAULT).accentColor(Color.LIGHT_BLUE_500)
Siga.init(this, defaultSetup)
}
diff --git a/app/src/main/java/com/pavelrekun/rekado/base/BaseActivity.kt b/app/src/main/java/com/pavelrekun/rekado/base/BaseActivity.kt
index 3e4eda7..0f89d0a 100644
--- a/app/src/main/java/com/pavelrekun/rekado/base/BaseActivity.kt
+++ b/app/src/main/java/com/pavelrekun/rekado/base/BaseActivity.kt
@@ -1,18 +1,32 @@
package com.pavelrekun.rekado.base
+import android.os.Build
import android.os.Bundle
+import com.pavelrekun.rekado.R
+import com.pavelrekun.rekado.screens.main_activity.MainActivity
import com.pavelrekun.rekado.services.utils.PreferencesUtils
import com.pavelrekun.siga.base.SigaActivity
+import com.pavelrekun.siga.services.helpers.ColorsHelper
+import com.pavelrekun.siga.services.helpers.DesignHelper
open class BaseActivity : SigaActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
PreferencesUtils.getPreferencesTheme()
super.onCreate(savedInstanceState)
+
+ initDesignRules()
}
override fun setTitle(titleResId: Int) {
supportActionBar?.title = getString(titleResId)
}
+ private fun initDesignRules() {
+ if (this is MainActivity) {
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O_MR1) {
+ DesignHelper.tintNavigationBar(this, ColorsHelper.resolveColorAttribute(this, R.attr.colorBackgroundSecondary))
+ }
+ }
+ }
}
\ No newline at end of file
diff --git a/app/src/main/java/com/pavelrekun/rekado/screens/about_activity/AboutView.kt b/app/src/main/java/com/pavelrekun/rekado/screens/about_activity/AboutView.kt
index b12070f..8df8485 100644
--- a/app/src/main/java/com/pavelrekun/rekado/screens/about_activity/AboutView.kt
+++ b/app/src/main/java/com/pavelrekun/rekado/screens/about_activity/AboutView.kt
@@ -29,6 +29,7 @@ class AboutView(private val activity: BaseActivity) : AboutContract.View {
override fun initClickListeners() {
activity.aboutLinkGitHubProject.setOnClickListener { Utils.openLink(activity, Constants.GITHUB_PROJECT_LINK) }
+ activity.aboutDeveloperPersonalSite.setOnClickListener { Utils.openLink(activity, Constants.PERSONAL_SITE_LINK) }
activity.aboutDeveloperGitHub.setOnClickListener { Utils.openLink(activity, Constants.GITHUB_PROFILE_LINK) }
activity.aboutDeveloperTwitter.setOnClickListener { Utils.openLink(activity, Constants.TWITTER_LINK) }
}
diff --git a/app/src/main/java/com/pavelrekun/rekado/services/Constants.kt b/app/src/main/java/com/pavelrekun/rekado/services/Constants.kt
index c0cdeca..b64e20a 100644
--- a/app/src/main/java/com/pavelrekun/rekado/services/Constants.kt
+++ b/app/src/main/java/com/pavelrekun/rekado/services/Constants.kt
@@ -2,13 +2,12 @@ package com.pavelrekun.rekado.services
object Constants {
- const val UPDATE_CONFIG_LINK = "https://raw.githubusercontent.com/MenosGrante/Rekado/master/updater/update.xml"
-
const val HELP_RCM = "https://gbatemp.net/threads/the-ultimate-list-of-mods-to-enter-rcm.502145/"
const val GITHUB_PROJECT_LINK = "https://github.com/MenosGrante/Rekado"
const val GITHUB_PROFILE_LINK = "https://github.com/MenosGrante"
+ const val PERSONAL_SITE_LINK = "https://pavelrekun.dev"
const val TWITTER_LINK = "https://twitter.com/menosgrante"
const val DONATE_LINK = "https://www.buymeacoffee.com/pavelrekun"
}
\ No newline at end of file
diff --git a/app/src/main/java/com/pavelrekun/rekado/services/utils/PreferencesUtils.kt b/app/src/main/java/com/pavelrekun/rekado/services/utils/PreferencesUtils.kt
index 72c6bec..0887536 100644
--- a/app/src/main/java/com/pavelrekun/rekado/services/utils/PreferencesUtils.kt
+++ b/app/src/main/java/com/pavelrekun/rekado/services/utils/PreferencesUtils.kt
@@ -8,7 +8,7 @@ object PreferencesUtils {
fun getPreferencesTheme() {
val preferences = androidx.preference.PreferenceManager.getDefaultSharedPreferences(RekadoApplication.instance.applicationContext)
- val theme = preferences.getString("appearance_theme_night_mode", Theme.DARK_DEFAULT.id)
+ val theme = preferences.getString("appearance_interface_theme", Theme.DARK_DEFAULT.id)
Siga.config(RekadoApplication.instance.applicationContext).theme(Theme.findById(theme)).apply()
}
diff --git a/app/src/main/res/drawable/ic_about_personal_site.xml b/app/src/main/res/drawable/ic_about_personal_site.xml
new file mode 100644
index 0000000..0ca42e2
--- /dev/null
+++ b/app/src/main/res/drawable/ic_about_personal_site.xml
@@ -0,0 +1,10 @@
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/activity_about.xml b/app/src/main/res/layout/activity_about.xml
index 661c233..134d8fc 100644
--- a/app/src/main/res/layout/activity_about.xml
+++ b/app/src/main/res/layout/activity_about.xml
@@ -131,6 +131,25 @@
android:layout_height="wrap_content"
android:text="@string/about_category_developer" />
+
+
+
+
Informacion
Desarrollador
+ Sitio personal
Aplicacion escrita en Kotlin y C++. Se utiliza para injectar los payloads en el Nintendo Switch.
diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml
index 3b48ba3..99f2d4b 100644
--- a/app/src/main/res/values-fr/strings.xml
+++ b/app/src/main/res/values-fr/strings.xml
@@ -10,6 +10,7 @@
Informations
Développeur
+ Site personnel
Application écrite en Kotlin et C++. Elle sert à injecter des payloads ou démarrer Lakka sur la Switch
diff --git a/app/src/main/res/values-in-rID/strings.xml b/app/src/main/res/values-in-rID/strings.xml
index 2d769ae..564d154 100644
--- a/app/src/main/res/values-in-rID/strings.xml
+++ b/app/src/main/res/values-in-rID/strings.xml
@@ -7,6 +7,7 @@
Tentang
Instruksi
Pengembang
+ Situs pribadi
Batal
Pilih Muatan
Apakah anda yakin telah memilih Muatan yang benar?
diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml
index 42304b4..6e577ac 100644
--- a/app/src/main/res/values-it/strings.xml
+++ b/app/src/main/res/values-it/strings.xml
@@ -10,6 +10,7 @@
Informazioni
Sviluppatore
+ Sito personale
Applicazione scritta in Kotlin e C++. Viene usata per iniettare payload su Nintendo Switch.
diff --git a/app/src/main/res/values-pl/strings.xml b/app/src/main/res/values-pl/strings.xml
index abfda9a..833e39f 100644
--- a/app/src/main/res/values-pl/strings.xml
+++ b/app/src/main/res/values-pl/strings.xml
@@ -10,6 +10,7 @@
Informacje
Deweloper
+ Osobista strona
Aplikacja została napisana w Kotlin i C++. Jest używana żeby wkładać payloady na Nintendo Switch.
diff --git a/app/src/main/res/values-pt-rBR/strings.xml b/app/src/main/res/values-pt-rBR/strings.xml
index 7deaca3..ee7ca80 100644
--- a/app/src/main/res/values-pt-rBR/strings.xml
+++ b/app/src/main/res/values-pt-rBR/strings.xml
@@ -11,6 +11,7 @@
Informações
Desenvolvedor
+ Site pessoal
Aplicativo usado para injeção de payloads em consoles Nintendo Switch. Código fonte escrito em Kotlin e C++.
diff --git a/app/src/main/res/values-pt-rPT/strings.xml b/app/src/main/res/values-pt-rPT/strings.xml
index 1b72ec3..2c1e6a1 100644
--- a/app/src/main/res/values-pt-rPT/strings.xml
+++ b/app/src/main/res/values-pt-rPT/strings.xml
@@ -6,11 +6,12 @@
Logs
Sobre
Doar
- Defenições
+ Definições
Informação
Desenvolvedor
+ Site pessoal
Aplicação escrita em Kotlin e C++. É usada para injetar payloads na Nintendo Switch.
diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml
index 0c51567..aa16614 100644
--- a/app/src/main/res/values-ru/strings.xml
+++ b/app/src/main/res/values-ru/strings.xml
@@ -11,6 +11,7 @@
Информация
Разработчик
+ Персональный сайт
Приложение написано на Kotlin с использованием C++. Оно используется для инъекций загрузчиков на Nintendo Switch.
diff --git a/app/src/main/res/values-uk/strings.xml b/app/src/main/res/values-uk/strings.xml
index 49a6703..f68ba0b 100644
--- a/app/src/main/res/values-uk/strings.xml
+++ b/app/src/main/res/values-uk/strings.xml
@@ -11,6 +11,7 @@
Інформація
Розробник
+ Персональний сайт
Додаток написано на Kotlin з використанням C++. Воно використовується для ін\'єкцій завантажувачів на Nintendo Switch.
diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml
index c5388c4..6cd467b 100644
--- a/app/src/main/res/values-zh-rCN/strings.xml
+++ b/app/src/main/res/values-zh-rCN/strings.xml
@@ -11,6 +11,7 @@
信息
开发人员
+ 个人网站
本应用使用 Kotlin 和 C++ 编程,他用于任天堂 Switch 加载 payloads。
数据线
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index f3f6566..4fc5c7e 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -13,6 +13,7 @@
Information
Developer
Application written in Kotlin and C++. It is used to inject payloads on the Nintendo Switch.
+ Personal site
GitHub
Twitter
diff --git a/build.gradle b/build.gradle
index e687006..346ee82 100644
--- a/build.gradle
+++ b/build.gradle
@@ -30,7 +30,7 @@ ext {
androidXOtherVersion = '1.0.0'
androidXConstraintLayoutVersion = '1.1.3'
materialComponentsVersion = '1.0.0'
- materialDialogsVersion = '2.0.3'
+ materialDialogsVersion = '2.7.0'
assetCopier = '0.1.1'
paperVersion = '2.6'
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index 94be53f..2974990 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-5.2.1-all.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-5.3.1-all.zip