Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jameskokoska committed Sep 2, 2023
1 parent 89a0d2b commit fbe5f68
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion budget_simple/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ void main() async {
dataSetTranslationsApp = await openAppTranslations();
runApp(
DevicePreview(
enabled: false,
enabled: kDebugMode,
builder: (context) => InitializeApp(key: initializeAppStateKey),
),
);
Expand Down
2 changes: 0 additions & 2 deletions budget_simple/lib/widgets/increase_limit.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ DateTime dayInAMonth() {
}

class _IncreaseLimitState extends State<IncreaseLimit> {
TextEditingController amountInputController = TextEditingController();
double selectedAmount = 0;
DateTime selectedUntilDate = dayInAMonth();
DateTime selectedOnDate = DateTime.now();
Expand Down Expand Up @@ -90,7 +89,6 @@ class _IncreaseLimitState extends State<IncreaseLimit> {
child: IntrinsicWidth(
child: TextFormField(
autofocus: true,
controller: amountInputController,
onChanged: (value) {
if (getDecimalSeparator() == ",") {
value = value.replaceAll(",", ".");
Expand Down

0 comments on commit fbe5f68

Please sign in to comment.