diff options
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt b/app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt new file mode 100644 index 00000000..4e287ee7 --- /dev/null +++ b/app/src/main/kotlin/com/pitchedapps/frost/FrostApp.kt @@ -0,0 +1,19 @@ +package com.pitchedapps.frost + +import android.app.Application +import com.pitchedapps.frost.utils.Prefs + +/** + * Created by Allan Wang on 2017-05-28. + */ +class FrostApp : Application() { + + companion object { + lateinit var prefs: Prefs + } + + override fun onCreate() { + prefs = Prefs(applicationContext) + super.onCreate() + } +}
\ No newline at end of file |