Skip to content

Commit

Permalink
Merge branch 'master' into release/snapstore
Browse files Browse the repository at this point in the history
  • Loading branch information
Arenukvern committed Mar 14, 2024
2 parents 15f7254 + bdf09b2 commit 7a4f25e
Show file tree
Hide file tree
Showing 84 changed files with 2,303 additions and 191 deletions.
2 changes: 1 addition & 1 deletion .fvmrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"flutter": "3.19.2"
"flutter": "3.19.3"
}
3 changes: 0 additions & 3 deletions .github/workflows/release_snapstore.workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ on:
push:
branches:
- release/snapstore
workflow_dispatch:
workflow_call:

jobs:
build:
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions .vscode/common.code-snippets
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,5 @@
"body": "/// ********************************************\n/// * ${1:TITLE} END\n/// ********************************************"
}
}


2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
80
]
},
"dart.flutterSdkPath": ".fvm/versions/3.19.2",
"dart.flutterSdkPath": ".fvm/versions/3.19.3",
"search.exclude": {
"**/.fvm": true
},
Expand Down
9 changes: 7 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
## 3.20 (next)
## 3.21 (next)

## 3.20

🧩 Puzzle update 🧩

- feat: app updates now visible in projects
- feat: new website launched!🚀 https://la.xsoulspace.dev Currently have only two pages, but now it fast, convenient and completely written with Dart with [Jaspr framework](https://github.com/schultek/jaspr) and [Tailwind](https://tailwindcss.com):)

- fix: characters limit layout made more compact and cozy
- fix: characters limit layout made more compact and cozy.
- fix: language switcher (didn't work after reloading).
- fix: vertical bar buttons adapted to fit languages.

## 3.19

Expand Down
3 changes: 2 additions & 1 deletion configs/envs/prod.sample.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
"WIREDASH_PROJECT_ID": "",
"WIREDASH_PROJECT_SECRET": "",
"GOOGLE_CLIENT_ID": "",
"STORE": "snapstore"
"STORE": "snapstore",
"TELEGRAM_BOT_TOKEN": ""
}
5 changes: 1 addition & 4 deletions lib/bootstrap.dart
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
import 'dart:async';

import 'package:core/core.dart';
import 'package:firebase_core/firebase_core.dart';
import 'package:flutter/cupertino.dart';
import 'package:lastanswer/common_imports.dart';
import 'package:lastanswer/other/other.dart';

Future<void> bootstrap({
Expand Down
27 changes: 13 additions & 14 deletions lib/home/widgets/vertical_projects_bar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -72,26 +72,25 @@ class BarItem extends StatelessWidget {
@override
Widget build(final BuildContext context) => GestureDetector(
onTap: onTap,
child: SizedBox(
height: 56,
child: Stack(
children: [
SizedBox(
height: 50,
child: child,
),
Positioned(
bottom: 0,
right: 0,
left: 0,
child: Column(
mainAxisSize: MainAxisSize.min,
children: [
SizedBox(
height: 50,
child: child,
),
ConstrainedBox(
constraints: const BoxConstraints(maxWidth: 40),
child: FittedBox(
fit: BoxFit.fitWidth,
child: Text(
label,
textAlign: TextAlign.center,
style: context.textTheme.bodySmall,
),
),
],
),
),
],
),
);
}
3 changes: 2 additions & 1 deletion lib/settings/settings_screen.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'package:flutter/foundation.dart';
import 'package:lastanswer/_library/widgets/widgets.dart';
import 'package:lastanswer/common_imports.dart';
import 'package:lastanswer/other/feedback.dart';
Expand All @@ -13,7 +14,7 @@ class SettingsScreen extends HookWidget {
void onBack() => Navigator.pop(context);
final screenLayout = ScreenLayout.of(context);
final isAccountViewVisible =
context.read<PurchasesNotifier>().isAdSupported;
kDebugMode || context.read<PurchasesNotifier>().isAdSupported;
final appFeaturesNotifier = context.watch<AppFeaturesNotifier>();
final tabsViews = [
const GeneralSettingsView(),
Expand Down
20 changes: 12 additions & 8 deletions lib/settings/views/supporter_view/supporter_view_web.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ class SupportAppView extends StatelessWidget {
@override
Widget build(final BuildContext context) {
final purhasesNotifier = context.watch<PurchasesNotifier>();
final adsNotifier = context.watch<AdsNotifier>();
final purchasesAdsService = context.watch<PurchasesAdsService>();
final isAdLoaded = purchasesAdsService.isLoaded;
final l10n = context.l10n;
Expand All @@ -15,14 +16,17 @@ class SupportAppView extends StatelessWidget {
? [
Text(l10n.adPleaseNote),
const Gap(24),
FilledButton.tonal(
onPressed: isAdLoaded
? () async => purhasesNotifier.watchAd(context)
: null,
child: isAdLoaded
? Text(l10n.watchAd)
: const UiCircularProgress(),
),
if (adsNotifier.isAllowedToWatchRewarded)
FilledButton.tonal(
onPressed: isAdLoaded
? () async => purhasesNotifier.watchAd(context)
: null,
child: isAdLoaded
? Text(l10n.watchAd)
: const UiCircularProgress(),
)
else
const Text('Rewards ended. But, please come back tomorrow:)'),
]
: [],
);
Expand Down
Loading

0 comments on commit 7a4f25e

Please sign in to comment.