Skip to content

Commit

Permalink
Merge pull request #57 from xsoulspace/master
Browse files Browse the repository at this point in the history
broom update
  • Loading branch information
Arenukvern authored Dec 1, 2023
2 parents 3b6efc8 + 067c5d0 commit 78ce704
Show file tree
Hide file tree
Showing 5 changed files with 65 additions and 14 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
## 3.17.0+32

🧹 Broom update

The application has been completely rewritten and updated to Material 3. Now, with the new architecture, it should start up and run faster than before + some bugs have been fixed for the landscape layout.
Some bugs may still exist, but as always, they will be fixed later :)

Friendly and cozy weather:)

Anton

## 3.15.0+29

- new: new settings screen optimized for large screens, desktop, web and mobile
Expand Down
20 changes: 14 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,22 @@ Have a nice day!

[Join Discord](https://discord.gg/y54DpJwmAn) or send a message to idea@xsoulspace.dev

---

## Support Development

You can support this app development by [giving a star its GitHub repository](https://github.com/xsoulspace/last_answer) or support on [Patreon](https://patreon.com/arenukvern)
You can support this app development by [giving a star its GitHub repository](https://github.com/xsoulspace/last_answer) or
be donate to the creator on [Boosty](https://boosty.to/arenukvern) or [Patreon](https://patreon.com/arenukvern).

Thank you for your support and have a great day! 🌄

## Huge thank you for all contributions!

[@albanobattistella for initial Italian translation](https://github.com/albanobattistella)

## Other

Thank you for your support!
This project uses:

# Huge thank you for contributions!
Flutter & Dart 💙

[@albanobattistella](https://github.com/albanobattistella)
melos to manage packages
https://melos.invertase.dev
4 changes: 2 additions & 2 deletions lib/pack_app/widgets/project_direction_switch.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ class ProjectsDirectionSwitch extends StatelessWidget {
Icons.vertical_align_bottom_rounded,
color: settings.isProjectsListReversed
? context.colorScheme.primary
: context.colorScheme.onSecondary,
: context.colorScheme.onBackground,
),
),
HoverableButton(
onPressed: () => setReverse(isReversed: false),
child: Icon(
Icons.vertical_align_top_rounded,
color: settings.isProjectsListReversed
? context.colorScheme.onSecondary
? context.colorScheme.onBackground
: context.colorScheme.primary,
),
),
Expand Down
28 changes: 22 additions & 6 deletions lib/settings/features_widgets/general_settings_bloc.dart
Original file line number Diff line number Diff line change
@@ -1,19 +1,35 @@
import 'package:flutter/material.dart';
import 'package:lastanswer/common_imports.dart';
import 'package:lastanswer/settings/features_widgets/characters_limit_state.dart';

class GeneralSettingsBlocDto {
GeneralSettingsBlocDto({
required this.context,
});
}) : userNotifier = context.read();
final BuildContext context;
final UserNotifier userNotifier;
}

class GeneralSettingsBloc with ChangeNotifier {
GeneralSettingsBloc({
required this.dto,
}) : characterLimitController = CharactersLimitController.fromSettings(
dto: CharactersLimitControllerDto(context: dto.context),
);
final CharactersLimitController characterLimitController;
});
late final CharactersLimitController characterLimitController =
CharactersLimitController.fromSettings(
dto: CharactersLimitControllerDto(context: dto.context),
)..addListener(_onChanged);
final GeneralSettingsBlocDto dto;

void _onChanged() {
dto.userNotifier.updateCharactersLimitForNewNotes(
int.tryParse(characterLimitController.value) ?? 0,
);
}

@override
void dispose() {
characterLimitController
..removeListener(_onChanged)
..dispose();
super.dispose();
}
}
16 changes: 16 additions & 0 deletions packages/core/assets/json/updates_notifications.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,20 @@
[
{
"id": "4",
"message": {
"ru": " Приложение полностью переписано и обновлено до Material 3. Теперь с новой архитектурой должно запускаться и работать быстрее чем раньше + пофикшены некоторые баги для landscape layout. Некотрые баги возможны, но как всегда - это будет фикситься позже:) \n\nДружелюбной и уютной погоды:)\nАнтон ",
"en": " The application has been completely rewritten and updated to Material 3. Now, with the new architecture, it should start up and run faster than before + some bugs have been fixed for the landscape layout. Some bugs may still exist, but as always, they will be fixed later :)\n\nFriendly and cozy weather:)\nAnton",
"it": " L'applicazione è stata completamente riscritta e aggiornata a Material 3. Ora, con la nuova architettura, dovrebbe avviarsi e funzionare più velocemente rispetto a prima + alcuni bug sono stati corretti per il layout in orizzontale. Potrebbero ancora esistere alcuni bug, ma come sempre, saranno corretti in seguito :)\n\nPazienti e caldi giorni:)\nAnton",
"ga": ""
},
"title": {
"ru": "🧹 Broom update",
"en": "🧹 Broom update",
"it": "🧹 Broom update",
"ga": "🧹 Broom update"
},
"created": "2023-12-01"
},
{
"id": "3",
"message": {
Expand Down

0 comments on commit 78ce704

Please sign in to comment.