Skip to content

Commit

Permalink
v2.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
rignaneseleo committed Apr 19, 2016
1 parent 45323e3 commit be23712
Show file tree
Hide file tree
Showing 7 changed files with 146 additions and 234 deletions.
2 changes: 2 additions & 0 deletions Changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -140,5 +140,7 @@ v2.2.1
- Updated Portuguese translation (elcioebel from ackuna.com)
- Updated Chinese translations (dic1911)

v.2.2.2
- Themes without actionbar are temporaly removed

! Consider the possibility to donate !
357 changes: 134 additions & 223 deletions SlimFacebook/.idea/workspace.xml

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions SlimFacebook/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ android {
applicationId "it.rignanese.leo.slimfacebook"
minSdkVersion 15
targetSdkVersion 23
versionCode 26
versionName "2.2.1"
versionCode 27
versionName "2.2.2"
}
buildTypes {
debug {
Expand Down
4 changes: 2 additions & 2 deletions SlimFacebook/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ SlimSocial for Facebook is an Open Source app realized by Leonardo Rignanese
android:theme="@style/SlimFacebookTheme"


android:versionCode="21"
android:versionName="2.0.0"
android:versionCode="27"
android:versionName="2.2.2"
><!--the official version is wrote in build.gradle-->


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ public void onPageFinished(WebView view, String url) {
Context context = view.getContext();
//load the css customizations
String css = "";
if (savedPreferences.getBoolean("pref_hideSponsoredPosts", false)) { css += context.getString(R.string.hideSponsoredPosts); }
if (savedPreferences.getBoolean("pref_centerTextPosts", false)) { css += context.getString(R.string.centerTextPosts); }
if (savedPreferences.getBoolean("pref_addSpaceBetweenPosts", false)) { css += context.getString(R.string.addSpaceBetweenPosts); }

Expand Down
8 changes: 4 additions & 4 deletions SlimFacebook/app/src/main/res/values/arrays.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
<resources>
<string-array name="listThemes">
<item>Standard</item>
<item>Standard without Action Bar</item>
<item>Dark Theme</item>
<item>Dark Theme without Action Bar</item>
<!--<item>Standard without Action Bar</item>
<item>Dark Theme without Action Bar</item>-->
</string-array>
<string-array name="listValuesThemes">
<item>Standard</item>
<item>StandardNoBar</item>
<item>DarkTheme</item>
<item>DarkNoBar</item>
<!--<item>StandardNoBar</item>
<item>DarkNoBar</item>-->
</string-array>

<string-array name="listTextSize">
Expand Down
4 changes: 2 additions & 2 deletions SlimFacebook/app/src/main/res/values/css.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@
max-height:
</string>
<!--fixedBar continue into the mainActivity-->
<string name="hideSponsoredPosts" translatable="false">
<!-- <string name="hideSponsoredPosts" translatable="false">
#m_newsfeed_stream article[data-ft*=\"\\\"ei\\\":\\\"\"], .aymlCoverFlow, .aymlNewCoverFlow[data-ft*=\"\\\"is_sponsored\\\":\\\"1\\\"\"], .pyml,
.storyStream > ._6t2[data-sigil=\"marea\"], .storyStream > .fullwidth._539p, .storyStream > article[id^=\"u_\"]._676, .storyStream > article[id^=\"u_\"].storyAggregation
{ display: none; }
</string>
</string>-->


<!--Themes-->
Expand Down

0 comments on commit be23712

Please sign in to comment.