diff options
author | Allan Wang <me@allanwang.ca> | 2019-12-31 20:43:21 -0800 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2019-12-31 20:43:21 -0800 |
commit | 96272af0dea4db509e31de2eb273647dc52acb43 (patch) | |
tree | d37697857ce36c5ab08e38764375c0b315cf2e90 /app/src/main/kotlin/com/pitchedapps | |
parent | 685220f5f95dfed7b413c080965a82493c56e6ad (diff) | |
download | frost-96272af0dea4db509e31de2eb273647dc52acb43.tar.gz frost-96272af0dea4db509e31de2eb273647dc52acb43.tar.bz2 frost-96272af0dea4db509e31de2eb273647dc52acb43.zip |
Update fab color and fix create post idv2.4.2
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/activities/BaseMainActivity.kt | 4 | ||||
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/injectors/JsActions.kt | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/activities/BaseMainActivity.kt b/app/src/main/kotlin/com/pitchedapps/frost/activities/BaseMainActivity.kt index 0111967f..0fc60c10 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/activities/BaseMainActivity.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/activities/BaseMainActivity.kt @@ -350,12 +350,12 @@ abstract class BaseMainActivity : BaseActivity(), MainActivityContract, if (shouldShow) { if (fab.isShown) { fab.fadeScaleTransition { - setIcon(iicon, Prefs.iconColor) + setIcon(iicon, color = Prefs.iconColor) } return } } - fab.setIcon(iicon, Prefs.iconColor) + fab.setIcon(iicon, color = Prefs.iconColor) fab.showIf(shouldShow) } } diff --git a/app/src/main/kotlin/com/pitchedapps/frost/injectors/JsActions.kt b/app/src/main/kotlin/com/pitchedapps/frost/injectors/JsActions.kt index 44fd01da..175837ca 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/injectors/JsActions.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/injectors/JsActions.kt @@ -33,7 +33,7 @@ enum class JsActions(body: String) : InjectorContract { BASE_HREF("""document.write("<base href='$FB_URL_BASE'/>");"""), FETCH_BODY("""setTimeout(function(){var e=document.querySelector("main");e||(e=document.querySelector("body")),Frost.handleHtml(e.outerHTML)},1e2);"""), RETURN_BODY("return(document.getElementsByTagName('html')[0].innerHTML);"), - CREATE_POST(clickBySelector("[role=textbox][onclick]")), + CREATE_POST(clickBySelector("#MComposer [onclick]")), // CREATE_MSG(clickBySelector("a[rel=dialog]")), /** * Used as a pseudoinjector for maybe functions |