1
0
mirror of https://github.com/immich-app/immich.git synced 2024-11-24 08:52:28 +02:00

Added condition to show notification setting on android only

This commit is contained in:
Alex 2022-08-21 11:04:01 -07:00
parent 13bb6d469b
commit 5cd4d2d158
No known key found for this signature in database
GPG Key ID: 53CD082B3A5E1082

View File

@ -1,3 +1,5 @@
import 'dart:io';
import 'package:easy_localization/easy_localization.dart';
import 'package:flutter/material.dart';
import 'package:hooks_riverpod/hooks_riverpod.dart';
@ -39,7 +41,7 @@ class SettingsPage extends HookConsumerWidget {
const ImageViewerQualitySetting(),
const ThemeSetting(),
const AssetListSettings(),
const NotificationSetting(),
if (Platform.isAndroid) const NotificationSetting(),
],
).toList(),
],