|
|
@ -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); |
|
|
|
|
|
|
|
boolean oldMediaPreviewEnabled = adapter.getMediaPreviewEnabled(); |
|
|
|
|
|
|
|
if(enabled != oldMediaPreviewEnabled) { |
|
|
|
adapter.setMediaPreviewEnabled(enabled); |
|
|
|
adapter.setMediaPreviewEnabled(enabled); |
|
|
|
fullyRefresh(); |
|
|
|
fullyRefresh(); |
|
|
|
|
|
|
|
} |
|
|
|
break; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
case "tabFilterHomeReplies": { |
|
|
|
case "tabFilterHomeReplies": { |
|
|
|