Skip to content

Commit 636deb8

Browse files
committed
v6.25.1
1 parent 654ce9a commit 636deb8

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## [6.25.1] - 2025-04-09
2+
3+
* Fix `NyStorage.read` method
4+
15
## [6.25.0] - 2025-04-08
26

37
* Added: `makeCommand` to MetroService class. This will allow you to create a custom command in your project.

lib/local_storage/local_storage.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,14 +122,13 @@ class NyStorage {
122122
if (data == null) {
123123
return defaultValue;
124124
}
125-
126125
if (runtimeType != null && modelDecoders == null) {
127126
switch (runtimeType.toLowerCase()) {
128127
case 'int':
129128
return int.parse(data);
130129
case 'double':
131130
return double.parse(data);
132-
case 'String':
131+
case 'string':
133132
return data;
134133
case 'bool':
135134
return data == 'true';

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: nylo_support
22
description: Support library for the Nylo framework. This library supports routing, widgets, localization, cli, storage and more.
3-
version: 6.25.0
3+
version: 6.25.1
44
homepage: https://nylo.dev
55
repository: https://github.com/nylo-core/support/tree/6.x
66
issue_tracker: https://github.com/nylo-core/support/issues

0 commit comments

Comments
 (0)