removed useless conv bar recomms
This commit is contained in:
@@ -19,11 +19,12 @@ public class ImBanner {
|
||||
var user_id = orig.getJSONObject("peer").getInt("id");
|
||||
|
||||
if (!UsersList.hasBanner(user_id) || user_id == 0) {
|
||||
if (getBoolValue("convBarRecomm", false)) {
|
||||
return null;
|
||||
} else {
|
||||
return orig.optJSONObject("conversation_bar");
|
||||
}
|
||||
// if (getBoolValue("convBarRecomm", false)) {
|
||||
// return null;
|
||||
// } else {
|
||||
// return orig.optJSONObject("conversation_bar");
|
||||
// }
|
||||
return null;
|
||||
}
|
||||
|
||||
try {
|
||||
|
||||
@@ -20,11 +20,11 @@
|
||||
android:key="voice"
|
||||
android:summary="@string/vtlvoicesummary"
|
||||
android:title="@string/vtlvoice"/>
|
||||
<com.vtosters.lite.ui.MaterialSwitchPreference
|
||||
android:defaultValue="false"
|
||||
android:key="convBarRecomm"
|
||||
android:summary="@string/convBarRecomm_summ"
|
||||
android:title="@string/convBarRecomm_title"/>
|
||||
<!-- <com.vtosters.lite.ui.MaterialSwitchPreference-->
|
||||
<!-- android:defaultValue="false"-->
|
||||
<!-- android:key="convBarRecomm"-->
|
||||
<!-- android:summary="@string/convBarRecomm_summ"-->
|
||||
<!-- android:title="@string/convBarRecomm_title"/>-->
|
||||
<com.vtosters.lite.ui.MaterialSwitchPreference
|
||||
android:defaultValue="false"
|
||||
android:key="wbios"
|
||||
|
||||
Reference in New Issue
Block a user