diff options
author | Allan Wang <me@allanwang.ca> | 2017-09-17 01:21:46 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-17 01:21:46 -0400 |
commit | a5ea7fd9606f2ae39d57d2463f093629d19b0200 (patch) | |
tree | fdd6a29608987999b4eb03fe7a569c4467d513bb /app/src/main/kotlin/com/pitchedapps/frost/enums | |
parent | e55fac98ef50a55f0064111cb767d1d7e3959bcc (diff) | |
download | frost-a5ea7fd9606f2ae39d57d2463f093629d19b0200.tar.gz frost-a5ea7fd9606f2ae39d57d2463f093629d19b0200.tar.bz2 frost-a5ea7fd9606f2ae39d57d2463f093629d19b0200.zip |
misc (#298)v1.5.0
* Wrap searchsubject with error handler
* Add dialog for older users
* Add identifier key
* Ensure notification service starts when app starts
* Update theme
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/enums')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/enums/Support.kt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/enums/Support.kt b/app/src/main/kotlin/com/pitchedapps/frost/enums/Support.kt index 85c8bc76..a624e429 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/enums/Support.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/enums/Support.kt @@ -6,6 +6,7 @@ import ca.allanwang.kau.email.sendEmail import ca.allanwang.kau.utils.string import com.pitchedapps.frost.R import com.pitchedapps.frost.utils.Prefs +import com.pitchedapps.frost.utils.iab.IS_FROST_PRO /** * Created by Allan Wang on 2017-06-29. @@ -19,7 +20,8 @@ enum class Support(@StringRes val title: Int) { fun sendEmail(context: Context) { with(context) { this.sendEmail(string(R.string.dev_email), "${string(R.string.frost_prefix)} ${string(title)}") { - addItem("Random Frost ID", Prefs.frostId) + val proTag = if (IS_FROST_PRO) "TY" else "FP" + addItem("Random Frost ID", "${Prefs.frostId}-$proTag") } } } |