Skip to content

Commit

Permalink
update metadata sync gif
Browse files Browse the repository at this point in the history
  • Loading branch information
Allie Crevier committed Apr 9, 2020
1 parent 56e0981 commit 6fe108a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions securedrop_client/gui/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,11 @@ def _on_sync(self, data):
self.sync_animation.setScaledSize(QSize(24, 20))
self.setMovie(self.sync_animation)
self.sync_animation.start()
elif data == 'synced':
self.sync_animation = load_movie("sync.gif")
self.sync_animation.setScaledSize(QSize(24, 20))
self.setMovie(self.sync_animation)
self.sync_animation.start()

def enable(self):
self.sync_animation = load_movie("sync.gif")
Expand Down
Binary file modified securedrop_client/resources/images/sync.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified securedrop_client/resources/images/sync_active.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6fe108a

Please sign in to comment.