aboutsummaryrefslogtreecommitdiff
path: root/app/src/main
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 /app/src/main
parent495b1bd49835070ca43a523831caee0f70079604 (diff)
downloadfrost-37a9f9057d7879080b7b982f987bf0b82d0d774c.tar.gz
frost-37a9f9057d7879080b7b982f987bf0b82d0d774c.tar.bz2
frost-37a9f9057d7879080b7b982f987bf0b82d0d774c.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
Diffstat (limited to 'app/src/main')
-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
4 files changed, 16 insertions, 7 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" />