Fixes issue #255- Some other elements
This commit is contained in:
parent
b3bd0551f1
commit
5f63c9f2b3
|
@ -553,7 +553,7 @@ public class StatusListAdapter extends RecyclerView.Adapter implements OnPostAct
|
|||
//noinspection deprecation
|
||||
statusToTranslate = Html.fromHtml(status.getReblog() != null ?status.getReblog().getContent():status.getContent()).toString();
|
||||
//TODO: removes the replaceAll once fixed with the lib
|
||||
myTransL.translate(statusToTranslate.replaceAll("%","%25"), myTransL.getLocale(), new Results() {
|
||||
myTransL.translate(statusToTranslate, myTransL.getLocale(), new Results() {
|
||||
@Override
|
||||
public void onSuccess(Translate translate) {
|
||||
if( translate.getTranslatedContent() != null) {
|
||||
|
|
|
@ -105,7 +105,7 @@ public class SettingsNotificationsFragment extends Fragment {
|
|||
boolean notif_wifi = sharedpreferences.getBoolean(Helper.SET_WIFI_ONLY, false);
|
||||
boolean notif_silent = sharedpreferences.getBoolean(Helper.SET_NOTIF_SILENT, false);
|
||||
|
||||
boolean notif_hometimeline = sharedpreferences.getBoolean(Helper.SET_NOTIF_HOMETIMELINE, true);
|
||||
boolean notif_hometimeline = sharedpreferences.getBoolean(Helper.SET_NOTIF_HOMETIMELINE, false);
|
||||
|
||||
final String time_from = sharedpreferences.getString(Helper.SET_TIME_FROM, "07:00");
|
||||
final String time_to = sharedpreferences.getString(Helper.SET_TIME_TO, "22:00");
|
||||
|
|
|
@ -103,7 +103,7 @@ public class HomeTimelineSyncJob extends Job {
|
|||
if( !canNotify(getContext()))
|
||||
return;
|
||||
final SharedPreferences sharedpreferences = getContext().getSharedPreferences(Helper.APP_PREFS, Context.MODE_PRIVATE);
|
||||
boolean notif_hometimeline = sharedpreferences.getBoolean(Helper.SET_NOTIF_HOMETIMELINE, true);
|
||||
boolean notif_hometimeline = sharedpreferences.getBoolean(Helper.SET_NOTIF_HOMETIMELINE, false);
|
||||
//User disagree with home timeline refresh
|
||||
if( !notif_hometimeline)
|
||||
return; //Nothing is done
|
||||
|
|
Loading…
Reference in New Issue