aboutsummaryrefslogtreecommitdiff
path: root/library
diff options
context:
space:
mode:
Diffstat (limited to 'library')
-rw-r--r--library/src/main/kotlin/ca/allanwang/kau/changelog/Changelog.kt5
-rw-r--r--library/src/main/kotlin/ca/allanwang/kau/utils/ContextUtils.kt5
2 files changed, 6 insertions, 4 deletions
diff --git a/library/src/main/kotlin/ca/allanwang/kau/changelog/Changelog.kt b/library/src/main/kotlin/ca/allanwang/kau/changelog/Changelog.kt
index ae4c8f9..bca9b12 100644
--- a/library/src/main/kotlin/ca/allanwang/kau/changelog/Changelog.kt
+++ b/library/src/main/kotlin/ca/allanwang/kau/changelog/Changelog.kt
@@ -1,4 +1,4 @@
-package com.pitchedapps.frost.utils
+package ca.allanwang.kau.changelog
import android.content.Context
import android.content.res.XmlResourceParser
@@ -15,6 +15,9 @@ import org.xmlpull.v1.XmlPullParser
/**
* Created by Allan Wang on 2017-05-28.
+ *
+ * Internals of the changelog dialog
+ * Contains an adapter for each item, as well as the tags to parse
*/
internal class ChangelogAdapter(val items: List<Pair<String, ChangelogType>>) : RecyclerView.Adapter<ChangelogAdapter.ChangelogVH>() {
diff --git a/library/src/main/kotlin/ca/allanwang/kau/utils/ContextUtils.kt b/library/src/main/kotlin/ca/allanwang/kau/utils/ContextUtils.kt
index 9508173..5d10b3e 100644
--- a/library/src/main/kotlin/ca/allanwang/kau/utils/ContextUtils.kt
+++ b/library/src/main/kotlin/ca/allanwang/kau/utils/ContextUtils.kt
@@ -3,7 +3,6 @@ package ca.allanwang.kau.utils
import android.app.Activity
import android.content.Context
import android.content.Intent
-import android.graphics.Color
import android.graphics.drawable.Drawable
import android.net.ConnectivityManager
import android.os.Bundle
@@ -15,8 +14,8 @@ import android.util.TypedValue
import android.widget.Toast
import ca.allanwang.kau.R
import com.afollestad.materialdialogs.MaterialDialog
-import com.pitchedapps.frost.utils.ChangelogAdapter
-import com.pitchedapps.frost.utils.parse
+import ca.allanwang.kau.changelog.ChangelogAdapter
+import ca.allanwang.kau.changelog.parse
import java.util.*
/**