diff options
author | Allan Wang <me@allanwang.ca> | 2017-06-17 19:35:09 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2017-06-17 19:35:09 -0700 |
commit | 5b56ae501a1e092f8499667f146170d3f8ac535f (patch) | |
tree | 15376c68e34a4ce043412beddff2d2c15b7ec1d8 /app/src/main/kotlin | |
parent | 377c96d36418fa1a5709df5ebf4ef87c9cef46c5 (diff) | |
download | frost-5b56ae501a1e092f8499667f146170d3f8ac535f.tar.gz frost-5b56ae501a1e092f8499667f146170d3f8ac535f.tar.bz2 frost-5b56ae501a1e092f8499667f146170d3f8ac535f.zip |
Move theme colors to main scss files
Diffstat (limited to 'app/src/main/kotlin')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/WebExternalActivity.kt | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/WebExternalActivity.kt b/app/src/main/kotlin/com/pitchedapps/frost/WebExternalActivity.kt deleted file mode 100644 index 0f429252..00000000 --- a/app/src/main/kotlin/com/pitchedapps/frost/WebExternalActivity.kt +++ /dev/null @@ -1,51 +0,0 @@ -package com.pitchedapps.frost - -import android.content.Intent -import android.os.Bundle -import android.os.PersistableBundle -import android.support.v7.app.AppCompatActivity -import ca.allanwang.kau.utils.toast -import com.jude.swipbackhelper.SwipeBackHelper -import com.pitchedapps.frost.utils.L - -/** - * Created by Allan Wang on 2017-06-17. - */ -class WebExternalActivity : AppCompatActivity() { - - val url: String? - get() = intent?.dataString - - override fun onCreate(savedInstanceState: Bundle?) { - super.onCreate(savedInstanceState) - L.d("Create wea") - L.d("URL $url") - toast(url!!) - SwipeBackHelper.onCreate(this) - SwipeBackHelper.getCurrentPage(this) - .setSwipeBackEnable(true) - .setSwipeSensitivity(0.5f) - .setSwipeRelateEnable(true) - .setSwipeRelateOffset(300) - } - - override fun onNewIntent(intent: Intent?) { - super.onNewIntent(intent) - L.d("Intent wea") - } - - override fun onStart() { - super.onStart() - L.d("Start") - } - - override fun onPostCreate(savedInstanceState: Bundle?) { - super.onPostCreate(savedInstanceState) - SwipeBackHelper.onPostCreate(this) - } - - override fun onDestroy() { - super.onDestroy() - SwipeBackHelper.onDestroy(this) - } -}
\ No newline at end of file |