Rename "KeyToken" to "Used Key"
This commit is contained in:
@@ -160,7 +160,14 @@ class AppSettings extends ChangeNotifier {
|
||||
|
||||
class AppNotificationSettings {
|
||||
// Immutable
|
||||
AppNotificationSettings({this.enableLights = false, this.enableVibration = true, this.playSound = true, this.sound = null, this.silent = false, this.timeoutAfter = null});
|
||||
AppNotificationSettings({
|
||||
this.enableLights = false,
|
||||
this.enableVibration = true,
|
||||
this.playSound = true,
|
||||
this.sound = null,
|
||||
this.silent = false,
|
||||
this.timeoutAfter = null,
|
||||
});
|
||||
|
||||
final bool enableLights;
|
||||
final bool enableVibration;
|
||||
@@ -199,7 +206,14 @@ class AppNotificationSettings {
|
||||
final silent = prefs.getBool('${prefix}.silent') ?? def.silent;
|
||||
final timeoutAfter = _decode(prefs.getString('${prefix}.timeoutAfter'), def.timeoutAfter);
|
||||
|
||||
return AppNotificationSettings(enableLights: enableLights, enableVibration: enableVibration, playSound: playSound, sound: sound, silent: silent, timeoutAfter: timeoutAfter);
|
||||
return AppNotificationSettings(
|
||||
enableLights: enableLights,
|
||||
enableVibration: enableVibration,
|
||||
playSound: playSound,
|
||||
sound: sound,
|
||||
silent: silent,
|
||||
timeoutAfter: timeoutAfter,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user