diff options
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/utils')
3 files changed, 0 insertions, 10 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/utils/ContextUtils.kt b/app/src/main/kotlin/com/pitchedapps/frost/utils/ContextUtils.kt index 702196bb..b8d76f40 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/utils/ContextUtils.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/utils/ContextUtils.kt @@ -4,9 +4,7 @@ import android.app.Activity import android.content.Context import android.content.Intent import android.support.v4.app.ActivityOptionsCompat -import android.support.v4.app.Fragment import android.support.v4.content.ContextCompat -import com.pitchedapps.frost.FrostApp import com.pitchedapps.frost.R import com.pitchedapps.frost.WebOverlayActivity import com.pitchedapps.frost.dbflow.CookieModel @@ -48,9 +46,3 @@ fun Activity.restart() { startActivity(intent); overridePendingTransition(0, 0) } - -fun Context.refWatch() { - FrostApp.refWatcher(this).watch(this) -} - -fun Fragment.refWatch() = context.refWatch()
\ No newline at end of file diff --git a/app/src/main/kotlin/com/pitchedapps/frost/utils/FragmentUtils.kt b/app/src/main/kotlin/com/pitchedapps/frost/utils/FragmentUtils.kt index e7a38227..f945c90a 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/utils/FragmentUtils.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/utils/FragmentUtils.kt @@ -2,7 +2,6 @@ package com.pitchedapps.frost.utils import android.os.Bundle import android.support.v4.app.Fragment -import com.pitchedapps.frost.fragments.BaseFragment /** * Created by Allan Wang on 2017-05-29. diff --git a/app/src/main/kotlin/com/pitchedapps/frost/utils/Utils.kt b/app/src/main/kotlin/com/pitchedapps/frost/utils/Utils.kt index d5bb2502..c754f6ff 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/utils/Utils.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/utils/Utils.kt @@ -1,7 +1,6 @@ package com.pitchedapps.frost.utils import android.content.Context -import android.content.res.Resources import android.net.ConnectivityManager /** |