Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Hide upload icon in offline mode

Neeraj Guptaec18e403fd6b
diff --git a/mobile/apps/photos/lib/ui/viewer/file/file_app_bar.dart b/mobile/apps/photos/lib/ui/viewer/file/file_app_bar.dart
index 8eab0b5fcb..89f6503893 100644
--- a/mobile/apps/photos/lib/ui/viewer/file/file_app_bar.dart
+++ b/mobile/apps/photos/lib/ui/viewer/file/file_app_bar.dart
@@ -268,7 +268,7 @@ class FileAppBarState extends State<FileAppBar> {
Center(child: FavoriteWidget(widget.file)),
);
}
- if (!isFileUploaded) {
+ if (!isFileUploaded && !isOfflineMode) {
_actions.add(
UploadIconWidget(
file: widget.file,