Skip to content

Commit

Permalink
improved theme switching speed, CSV template typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jameskokoska committed Oct 24, 2023
1 parent 4c52b96 commit ad679b5
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion budget/lib/database/tables.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import 'dart:convert';
import 'package:budget/struct/currencyFunctions.dart';
import 'schema_versions.dart';
import 'package:flutter/material.dart' show DateTimeRange;
import 'package:drift_dev/api/migrations.dart';

import 'package:flutter/material.dart' show RangeValues;
part 'tables.g.dart';
Expand Down Expand Up @@ -592,6 +591,7 @@ class FinanceDatabase extends _$FinanceDatabase {
onCreate: (Migrator m) async {
await m.createAll();
},
// import 'package:drift_dev/api/migrations.dart';
// beforeOpen: (details) async {
// try {
// await validateDatabaseSchema();
Expand Down
2 changes: 1 addition & 1 deletion budget/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class App extends StatelessWidget {
enableDevicePreview ? DevicePreview.locale(context) : context.locale,
shortcuts: shortcuts,
actions: keyboardIntents,
themeAnimationDuration: Duration(milliseconds: 700),
themeAnimationDuration: Duration(milliseconds: 300),
key: ValueKey(1),
title: 'Cashew',
navigatorKey: navigatorKey,
Expand Down
2 changes: 1 addition & 1 deletion budget/lib/widgets/importCSV.dart
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,7 @@ Future saveSampleCSV() async {
"-50",
"Groceries",
"Fruits and Vegetables",
"Paid with cash342",
"Paid with cash",
"",
]);
csvData.add([
Expand Down
3 changes: 3 additions & 0 deletions budget/lib/widgets/showChangelog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ import 'listItem.dart';

String getChangelogString() {
return """
< 4.7.1
Improved light/dark mode switching animation timing
CSV template spelling fix
< 4.7.0
Important database migration fix
< 4.6.9
Expand Down
2 changes: 1 addition & 1 deletion budget/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 4.7.0+231
version: 4.7.1+232

environment:
sdk: ">= 3.0.0"
Expand Down

0 comments on commit ad679b5

Please sign in to comment.