aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2019-12-29 15:43:20 -0800
committerAllan Wang <me@allanwang.ca>2019-12-29 15:43:20 -0800
commit597c884d88b8716d49e0abb00674ce44699df08b (patch)
tree52c2bef109a430aac85c03494a5fd4515e4455e5 /app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt
parente1688a91ca8129af202c4680784f1ab2f302d4ac (diff)
downloadfrost-597c884d88b8716d49e0abb00674ce44699df08b.tar.gz
frost-597c884d88b8716d49e0abb00674ce44699df08b.tar.bz2
frost-597c884d88b8716d49e0abb00674ce44699df08b.zip
Clean up obsolete usages
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt16
1 files changed, 0 insertions, 16 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt b/app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt
index 75efe637..b33f00e2 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt
@@ -67,22 +67,6 @@ class FrostApp : Application() {
scheduleNotificationsFromPrefs()
- /**
- * Drawer profile loading logic
- * Reload the image on every version update
- */
-// DrawerImageLoader.init(object : AbstractDrawerImageLoader() {
-// override fun set(imageView: ImageView, uri: Uri, placeholder: Drawable, tag: String?) {
-// val c = imageView.context
-// val request = GlideApp.with(c)
-// val old = request.load(uri).apply(RequestOptions().placeholder(placeholder))
-// request.load(uri).apply(
-// RequestOptions()
-// .signature(ApplicationVersionSignature.obtain(c))
-// )
-// .thumbnail(old).into(imageView)
-// }
-// })
if (BuildConfig.DEBUG) {
registerActivityLifecycleCallbacks(object : ActivityLifecycleCallbacks {
override fun onActivityPaused(activity: Activity) {}