mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +00:00
User configurable home screen actions
This commit is contained in:
parent
fd54b20b92
commit
2788ed5bd7
8 changed files with 256 additions and 102 deletions
|
|
@ -106,7 +106,7 @@ Future<void> showServerError(String title, String description) async {
|
|||
}
|
||||
|
||||
// Play a sound
|
||||
final bool tones = await InvenTreeSettingsManager().getValue("serverSounds", true) as bool;
|
||||
final bool tones = await InvenTreeSettingsManager().getValue(INV_SOUNDS_SERVER, true) as bool;
|
||||
|
||||
if (tones) {
|
||||
final player = AudioCache();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue