|
|
@ -610,8 +610,11 @@ public class TimelineFragment extends SFragment implements |
|
|
|
} |
|
|
|
} |
|
|
|
case "mediaPreviewEnabled": { |
|
|
|
case "mediaPreviewEnabled": { |
|
|
|
boolean enabled = sharedPreferences.getBoolean("mediaPreviewEnabled", true); |
|
|
|
boolean enabled = sharedPreferences.getBoolean("mediaPreviewEnabled", true); |
|
|
|
adapter.setMediaPreviewEnabled(enabled); |
|
|
|
boolean oldMediaPreviewEnabled = adapter.getMediaPreviewEnabled(); |
|
|
|
fullyRefresh(); |
|
|
|
if(enabled != oldMediaPreviewEnabled) { |
|
|
|
|
|
|
|
adapter.setMediaPreviewEnabled(enabled); |
|
|
|
|
|
|
|
fullyRefresh(); |
|
|
|
|
|
|
|
} |
|
|
|
break; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
case "tabFilterHomeReplies": { |
|
|
|
case "tabFilterHomeReplies": { |
|
|
|