diff options
author | Allan Wang <me@allanwang.ca> | 2017-07-02 11:57:57 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2017-07-02 11:57:57 -0700 |
commit | 8cc26f47b18bbc1944404d3378b885742a1d7586 (patch) | |
tree | 22cd6fc95e396e61a892002821bd01e4fe78c4c9 /app/src/main/kotlin/com/pitchedapps/frost/settings | |
parent | b148feff51d7f2805b1af378ad07740bfbeb53a8 (diff) | |
download | frost-8cc26f47b18bbc1944404d3378b885742a1d7586.tar.gz frost-8cc26f47b18bbc1944404d3378b885742a1d7586.tar.bz2 frost-8cc26f47b18bbc1944404d3378b885742a1d7586.zip |
Remap billing functionality
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/settings')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/settings/Feed.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/settings/Feed.kt b/app/src/main/kotlin/com/pitchedapps/frost/settings/Feed.kt index 60b0d2e9..b8bfb086 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/settings/Feed.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/settings/Feed.kt @@ -22,7 +22,7 @@ fun SettingsActivity.getFeedPrefs(): KPrefAdapterBuilder.() -> Unit = { title(R.string.newsfeed_sort) items(FeedSort.values().map { string(it.textRes) }) itemsCallbackSingleChoice(item.pref, { - _, _, which, text -> + _, _, which, _ -> if (item.pref != which) { item.pref = which shouldRestartMain() |