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:
parent
13bb6d469b
commit
5cd4d2d158
@ -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(),
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user