Skip to content

Commit

Permalink
fix web deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
alextekartik committed Mar 2, 2025
1 parent 77b3bf3 commit cd034cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages_web/sqflite_common_ffi_web/example/ui.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ void write(String message) {
if (lines.length > countLineMax + 10) {
lines = lines.sublist(lines.length - countLineMax);
}
_output.text = lines.join('\n');
_output.textContent = lines.join('\n');
}

void addButton(String text, FutureOr<void> Function() action) {
Expand Down
2 changes: 1 addition & 1 deletion packages_web/sqflite_common_ffi_web_test/web/ui.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ void write(String message) {
if (lines.length > countLineMax + 10) {
lines = lines.sublist(lines.length - countLineMax);
}
_output.text = lines.join('\n');
_output.textContent = lines.join('\n');
}

void addButton(String text, FutureOr<void> Function() action) {
Expand Down

0 comments on commit cd034cd

Please sign in to comment.