From 83cc2597925d5727dcad021818bfae9e768ab00c Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sat, 29 Dec 2018 16:30:11 -0500 Subject: Completely remove fbcookie's invoke function --- .../com/pitchedapps/frost/facebook/FbCookieTest.kt | 13 +++++++++++++ app/src/main/assets/css/core/_svg.scss | 4 ++-- app/src/main/assets/css/themes/custom.css | 4 ++-- app/src/main/assets/css/themes/material_amoled.css | 4 ++-- app/src/main/assets/css/themes/material_dark.css | 4 ++-- app/src/main/assets/css/themes/material_glass.css | 4 ++-- app/src/main/assets/css/themes/material_light.css | 4 ++-- .../kotlin/com/pitchedapps/frost/facebook/FbCookie.kt | 18 +++++------------- 8 files changed, 30 insertions(+), 25 deletions(-) create mode 100644 app/src/androidTest/kotlin/com/pitchedapps/frost/facebook/FbCookieTest.kt (limited to 'app') diff --git a/app/src/androidTest/kotlin/com/pitchedapps/frost/facebook/FbCookieTest.kt b/app/src/androidTest/kotlin/com/pitchedapps/frost/facebook/FbCookieTest.kt new file mode 100644 index 00000000..d5c8d2e1 --- /dev/null +++ b/app/src/androidTest/kotlin/com/pitchedapps/frost/facebook/FbCookieTest.kt @@ -0,0 +1,13 @@ +package com.pitchedapps.frost.facebook + +import android.webkit.CookieManager +import org.junit.Test +import kotlin.test.assertTrue + +class FbCookieTest { + + @Test + fun managerAcceptsCookie() { + assertTrue(CookieManager.getInstance().acceptCookie(), "Cookie manager should accept cookie by default") + } +} \ No newline at end of file diff --git a/app/src/main/assets/css/core/_svg.scss b/app/src/main/assets/css/core/_svg.scss index 45d4a253..fa5b0531 100644 --- a/app/src/main/assets/css/core/_svg.scss +++ b/app/src/main/assets/css/core/_svg.scss @@ -19,8 +19,8 @@ $like_selected: '