Sfoglia il codice sorgente

Remove feature flag

Neeraj Gupta 2 anni fa
parent
commit
ef6c84ad97
1 ha cambiato i file con 17 aggiunte e 19 eliminazioni
  1. 17 19
      lib/ui/viewer/file/file_details_widget.dart

+ 17 - 19
lib/ui/viewer/file/file_details_widget.dart

@@ -142,25 +142,23 @@ class _FileDetailsWidgetState extends State<FileDetailsWidget> {
         },
         },
       ),
       ),
     );
     );
-    if (FeatureFlagService.instance.isInternalUserOrDebugBuild()) {
-      fileDetailsTiles.addAll([
-        ValueListenableBuilder(
-          valueListenable: hasLocationData,
-          builder: (context, bool value, __) {
-            return value
-                ? Column(
-                    children: [
-                      LocationTagsWidget(
-                        widget.file.location!,
-                      ),
-                      const FileDetailsDivider(),
-                    ],
-                  )
-                : const SizedBox.shrink();
-          },
-        )
-      ]);
-    }
+    fileDetailsTiles.addAll([
+      ValueListenableBuilder(
+        valueListenable: hasLocationData,
+        builder: (context, bool value, __) {
+          return value
+              ? Column(
+                  children: [
+                    LocationTagsWidget(
+                      widget.file.location!,
+                    ),
+                    const FileDetailsDivider(),
+                  ],
+                )
+              : const SizedBox.shrink();
+        },
+      )
+    ]);
     if (_isImage) {
     if (_isImage) {
       fileDetailsTiles.addAll([
       fileDetailsTiles.addAll([
         ValueListenableBuilder(
         ValueListenableBuilder(