mirror of
https://github.com/home-assistant/android
synced 2024-09-19 08:01:31 +00:00
Fix changelog link by removing full and minimal reference (#980)
This commit is contained in:
parent
2a3d304674
commit
e98ddbb43b
|
@ -130,7 +130,7 @@ class SettingsFragment : PreferenceFragmentCompat(), SettingsView {
|
|||
findPreference<Preference>("changelog")?.let {
|
||||
val link = if (BuildConfig.VERSION_NAME.startsWith("LOCAL"))
|
||||
"https://github.com/home-assistant/android/releases"
|
||||
else "https://github.com/home-assistant/android/releases/tag/${BuildConfig.VERSION_NAME}"
|
||||
else "https://github.com/home-assistant/android/releases/tag/${BuildConfig.VERSION_NAME.replace("-full", "").replace("-minimal", "")}"
|
||||
it.summary = link
|
||||
val intent = Intent()
|
||||
intent.action = "android.intent.action.VIEW"
|
||||
|
|
Loading…
Reference in a new issue