mirror of
https://github.com/AllanWang/Frost-for-Facebook.git
synced 2024-11-09 20:42:34 +01:00
Update fab color and fix create post id
This commit is contained in:
parent
685220f5f9
commit
96272af0de
@ -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)
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -6,4 +6,5 @@ v2.4.2
|
||||
* Update theme
|
||||
* Open formatted urls from context menu
|
||||
* Allow copying text with emojis
|
||||
* Theme webview js dialogs
|
||||
* Theme webview js dialogs
|
||||
* Fix create post FAB
|
@ -113,7 +113,7 @@
|
||||
<item name="layout_behavior">@string/appbar_scrolling_view_behavior</item>
|
||||
</style>
|
||||
|
||||
<style name="Main.Fab" parent="Widget.Design.NavigationView">
|
||||
<style name="Main.Fab" parent="">
|
||||
<item name="android:layout_width">wrap_content</item>
|
||||
<item name="android:layout_height">wrap_content</item>
|
||||
<item name="android:layout_gravity">end|bottom</item>
|
||||
|
@ -14,6 +14,7 @@
|
||||
<item text="Open formatted urls from context menu" />
|
||||
<item text="Allow copying text with emojis" />
|
||||
<item text="Theme webview js dialogs" />
|
||||
<item text="Fix create post FAB" />
|
||||
<item text="" />
|
||||
|
||||
<version title="v2.4.1" />
|
||||
|
@ -8,6 +8,7 @@
|
||||
* Open formatted urls from context menu
|
||||
* Allow copying text with emojis
|
||||
* Theme webview js dialogs
|
||||
* Fix create post FAB
|
||||
|
||||
## v2.4.1
|
||||
* Add better support for mobile url conversions
|
||||
|
Loading…
Reference in New Issue
Block a user