mirror of
https://github.com/immich-app/immich.git
synced 2025-01-01 08:31:59 +00:00
Added condition to show notification setting on android only
This commit is contained in:
parent
13bb6d469b
commit
5cd4d2d158
1 changed files with 3 additions and 1 deletions
|
@ -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 a new issue