|
|
@ -522,8 +522,10 @@ public class NotificationsFragment extends SFragment implements |
|
|
|
} |
|
|
|
} |
|
|
|
case "mediaPreviewEnabled": { |
|
|
|
case "mediaPreviewEnabled": { |
|
|
|
boolean enabled = sharedPreferences.getBoolean("mediaPreviewEnabled", true); |
|
|
|
boolean enabled = sharedPreferences.getBoolean("mediaPreviewEnabled", true); |
|
|
|
|
|
|
|
if (enabled != adapter.isMediaPreviewEnabled()) { |
|
|
|
adapter.setMediaPreviewEnabled(enabled); |
|
|
|
adapter.setMediaPreviewEnabled(enabled); |
|
|
|
fullyRefresh(); |
|
|
|
fullyRefresh(); |
|
|
|
|
|
|
|
} |
|
|
|
break; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|