aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-07-19 13:20:03 -0700
committerGitHub <noreply@github.com>2017-07-19 13:20:03 -0700
commit37a9f9057d7879080b7b982f987bf0b82d0d774c (patch)
tree32aff4d5f509089ea67a8594ae0372ef90c81ad8
parent495b1bd49835070ca43a523831caee0f70079604 (diff)
downloadfrost-1.3.4.tar.gz
frost-1.3.4.tar.bz2
frost-1.3.4.zip
Dev - minor fixes (#75)v1.3.4
* Add lint * Add new libs * Update libs and add friends tab * Aggressively hide nonrecent posts * Update dependencies * Add php to most recents * Add full size image downloader * Fix css cleaner * Fix notification and circle * Bring back regex
-rw-r--r--app/src/main/assets/css/components/round_icons.compact.css2
-rw-r--r--app/src/main/assets/css/components/round_icons.scss3
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/injectors/JsInjector.kt2
-rw-r--r--app/src/main/res/xml/frost_changelog.xml16
-rw-r--r--docs/Changelog.md10
-rw-r--r--gradle.properties2
6 files changed, 24 insertions, 11 deletions
diff --git a/app/src/main/assets/css/components/round_icons.compact.css b/app/src/main/assets/css/components/round_icons.compact.css
index 76ff52cc..98c05584 100644
--- a/app/src/main/assets/css/components/round_icons.compact.css
+++ b/app/src/main/assets/css/components/round_icons.compact.css
@@ -1 +1 @@
-#threadlist_rows i.img:not(.profpic), i.img.profpic:not(._1_0m), ._42b6._42b6._42b6, ._5i9c.img, img._2cu2, i.img.l, [id*=threadlist] i.img:not(._1_0m) { border-radius: 50% !important; }
+#threadlist_rows, [role*=presentation] img._1e_c, i.img.profpic:not(._1_0m), ._42b6._42b6._42b6, ._5i9c.img, img._2cu2, i.img.l, [id*=threadlist] i.img:not(._1_0m) { border-radius: 50% !important; }
diff --git a/app/src/main/assets/css/components/round_icons.scss b/app/src/main/assets/css/components/round_icons.scss
index ad89b112..c00fe1bf 100644
--- a/app/src/main/assets/css/components/round_icons.scss
+++ b/app/src/main/assets/css/components/round_icons.scss
@@ -1,3 +1,4 @@
-#threadlist_rows i.img:not(.profpic), i.img.profpic:not(._1_0m), ._42b6._42b6._42b6, ._5i9c.img, img._2cu2, i.img.l, [id*=threadlist] i.img:not(._1_0m) {
+#threadlist_rows, [role*=presentation] img._1e_c,
+i.img.profpic:not(._1_0m), ._42b6._42b6._42b6, ._5i9c.img, img._2cu2, i.img.l, [id*=threadlist] i.img:not(._1_0m) {
border-radius: 50% !important;
}
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/injectors/JsInjector.kt b/app/src/main/kotlin/com/pitchedapps/frost/injectors/JsInjector.kt
index 1b7dad1c..7e9fdcad 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/injectors/JsInjector.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/injectors/JsInjector.kt
@@ -25,7 +25,7 @@ class JsBuilder {
override fun toString(): String {
val builder = StringBuilder().append("!function(){")
if (css.isNotBlank()) {
- val cssMin = css.replace(Regex("[\\r\\n\\t\\f\\v]\\s*"), "")
+ val cssMin = css.replace(Regex("\\s*\n\\s*"), "")
builder.append("var a=document.createElement('style');a.innerHTML='$cssMin';document.head.appendChild(a);")
}
if (js.isNotBlank())
diff --git a/app/src/main/res/xml/frost_changelog.xml b/app/src/main/res/xml/frost_changelog.xml
index f608f70a..3c60ef5c 100644
--- a/app/src/main/res/xml/frost_changelog.xml
+++ b/app/src/main/res/xml/frost_changelog.xml
@@ -9,10 +9,14 @@
-->
<version title="Beta Updates" />
-
- <item text="Add friend request tab in nav bar" />
- <item text="Aggressively filter nonrecent posts in recents mode" />
- <item text="Add download option for full sized images" />
+
+ <item text="Fix regex bug for some devices" />
+ <item text="Fix notification text" />
+ <item text="Update round icons" />
+ <item text="" />
+ <item text="" />
+ <item text="" />
+ <item text="" />
<item text="" />
<version title="v1.4" />
@@ -21,6 +25,10 @@
<item text="Start filtering out unnecessary loads" />
<item text="Fix notification duplicates" />
<item text="Fix long pressing album images" />
+ <item text="Add friend request tab in nav bar" />
+ <item text="Aggressively filter nonrecent posts in recents mode" />
+ <item text="Add download option for full sized images" />
+ <item text="Fix rounded icons" />
<version title="v1.3" />
<item text="Create toggle for notifications only from primary account" />
diff --git a/docs/Changelog.md b/docs/Changelog.md
index ae525797..2fe02e9a 100644
--- a/docs/Changelog.md
+++ b/docs/Changelog.md
@@ -1,9 +1,9 @@
# Changelog
## Beta Updates
-* Add friend request tab in nav bar
-* Aggressively filter nonrecent posts in recents mode
-* Add download option for full sized images
+* Fix regex bug for some devices
+* Fix notification text
+* Update round icons
## v1.4
* Update IAB helper
@@ -11,6 +11,10 @@
* Start filtering out unnecessary loads
* Fix notification duplicates
* Fix long pressing album images
+* Add friend request tab in nav bar
+* Aggressively filter nonrecent posts in recents mode
+* Add download option for full sized images
+* Fix rounded icons
## v1.3
* Create toggle for notifications only from primary account
diff --git a/gradle.properties b/gradle.properties
index 96a0843d..58f21b26 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -17,7 +17,7 @@ MIN_SDK=21
TARGET_SDK=26
BUILD_TOOLS=26.0.0
-KAU=v2.1
+KAU=bb91aea
KOTLIN=1.1.3-2
CRASHLYTICS=2.6.8
DBFLOW=4.0.5