Browse Source

fix: hide button after show images

main
Distopico Vegan 6 years ago
parent
commit
2790b76dee
3 changed files with 4 additions and 1 deletions
  1. +2
    -1
      app/src/main/java/org/dystopia/email/AdapterMessage.java
  2. +1
    -0
      app/src/main/java/org/dystopia/email/FragmentEx.java
  3. +1
    -0
      app/src/main/java/org/dystopia/email/FragmentOptions.java

+ 2
- 1
app/src/main/java/org/dystopia/email/AdapterMessage.java View File

@ -552,7 +552,8 @@ public class AdapterMessage extends PagedListAdapter<TupleMessageEx, AdapterMess
}
private void onShowImages(EntityMessage message) {
properties.setImages(message.id, !properties.showImages(message.id));
properties.setImages(message.id, true);
btnImages.setEnabled(false);
Bundle args = new Bundle();
args.putSerializable("message", message);


+ 1
- 0
app/src/main/java/org/dystopia/email/FragmentEx.java View File

@ -17,6 +17,7 @@ package org.dystopia.email;
along with FairEmail. If not, see <http://www.gnu.org/licenses/>.
Copyright 2018 by Marcel Bokhorst (M66B)
Copyright 2019 by Distopico <distopico@riseup.net>
*/
import android.content.res.Configuration;


+ 1
- 0
app/src/main/java/org/dystopia/email/FragmentOptions.java View File

@ -17,6 +17,7 @@ package org.dystopia.email;
along with FairEmail. If not, see <http://www.gnu.org/licenses/>.
Copyright 2018 by Marcel Bokhorst (M66B)
Copyright 2019 by Distopico <distopico@riseup.net>
*/
import android.content.SharedPreferences;


Loading…
Cancel
Save