Skip to content

Commit 91cce22

Browse files
authored
Merge pull request #621 from flow-mn:develop
RC: 0.16.6
2 parents afb3686 + 29d90c7 commit 91cce22

File tree

23 files changed

+163
-37
lines changed

23 files changed

+163
-37
lines changed

CHANGELOG.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,39 @@
11
# Changelog
22

3+
## 0.16.6
4+
5+
### New features
6+
7+
* Now you can select categories when exporting PDFs
8+
* New theme: Monochrome for those who resemble Wednesday
9+
10+
### Fixes
11+
12+
* Android widget now opens the app (I'm really sorry, it was working when I tested)
13+
314
## 0.16.5
415

5-
## New features
16+
### New features
617

718
* Now we have our initial widget for Android, yey!
819
* Home widgets now respects the Button Order settings.
920
* Long-pressing on a date will prompt you to create a new transaction,
1021
closes [#617](https://github.com/flow-mn/flow/issues/617)
1122

12-
## Fixes
23+
### Fixes
1324

1425
* Text selection is now transparent in the markdown editor
1526

1627
## 0.16.4
1728

18-
## New features
29+
### New features
1930

2031
* Now we have a very basic iOS widget, which I plan to improve later, part of
2132
[#411](https://github.com/flow-mn/flow/issues/411)
2233
* Now you can search accounts in the accounts tab if you have more than
2334
4 accounts, closes [#607](https://github.com/flow-mn/flow/issues/607)
2435

25-
## Fixes
36+
### Fixes
2637

2738
* Fixed setup preset accounts always having USD currency thanks to Duluu
2839
* Fixed long text getting clipped in home screen actionable reminders [#608](https://github.com/flow-mn/flow/issues/608)

android/app/src/main/AndroidManifest.xml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@
3939
<action android:name="android.intent.action.MAIN" />
4040
<category android:name="android.intent.category.LAUNCHER" />
4141
</intent-filter>
42+
<intent-filter>
43+
<action android:name="es.antonborri.home_widget.action.LAUNCH" />
44+
</intent-filter>
4245
<intent-filter>
4346
<action android:name="android.intent.action.VIEW" />
4447

@@ -57,8 +60,6 @@
5760
<meta-data
5861
android:name="flutterEmbedding"
5962
android:value="2" />
60-
61-
6263
<receiver
6364
android:exported="false"
6465
android:name="com.dexterous.flutterlocalnotifications.ScheduledNotificationReceiver" />
@@ -75,7 +76,6 @@
7576
<receiver
7677
android:exported="false"
7778
android:name="com.dexterous.flutterlocalnotifications.ActionBroadcastReceiver" />
78-
7979
<receiver
8080
android:name=".glance.TwoEntryReceiver"
8181
android:exported="true">
@@ -86,7 +86,6 @@
8686
android:name="android.appwidget.provider"
8787
android:resource="@xml/two_entry_widget_info" />
8888
</receiver>
89-
9089
<provider
9190
android:name="androidx.core.content.FileProvider"
9291
android:authorities="${applicationId}.provider"
@@ -97,4 +96,4 @@
9796
android:resource="@xml/provider_paths" />
9897
</provider>
9998
</application>
100-
</manifest>
99+
</manifest>

android/app/src/main/kotlin/mn/flow/flow/glance/TwoEntry.kt

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ import androidx.glance.preview.Preview
3737
import androidx.glance.state.GlanceStateDefinition
3838
import mn.flow.flow.R
3939
import java.util.Locale.getDefault
40-
import kotlin.math.min
4140

4241
class TwoEntry : GlanceAppWidget() {
4342
override val sizeMode = SizeMode.Exact
@@ -97,14 +96,13 @@ private fun Content(context: Context, currentState: HomeWidgetGlanceState) {
9796
.width(buttonSize)
9897
.height(buttonSize)
9998
.cornerRadius(999.dp)
100-
.clickable {
101-
actionStartActivity(
102-
Intent(
103-
Intent.ACTION_VIEW,
104-
"flow-mn:///transaction/new?type=${operation}".toUri()
105-
)
99+
.clickable(
100+
onClick = actionStartActivity(
101+
Intent(Intent.ACTION_VIEW, "flow-mn:///transaction/new?type=${operation}".toUri()).apply {
102+
addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
103+
}
106104
)
107-
},
105+
),
108106
contentAlignment = Alignment.Center
109107
) {
110108
Image(

assets/l10n/ar.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,8 @@
493493
"sync.export.onDeviceWarning": "جميع النسخ الاحتياطية مخزنة على الجهاز، مما يعني أنه عند إلغاء تثبيت Flow أو إعادة ضبط جهازك، ستختفي جميع النسخ الاحتياطية!",
494494
"sync.export.pdf.accounts": "الحسابات",
495495
"sync.export.pdf.accounts.selected": "تم اختيار {n} (من أصل {total})",
496+
"sync.export.pdf.categories": "الفئات",
497+
"sync.export.pdf.categories.selected": "المختارة {n} (من أصل {total})",
496498
"sync.export.pdf.header": "Flow - السجلات المالية الشخصية (غير رسمية، {range})",
497499
"sync.export.pdf.notice[0]": "تم الإنشاء بواسطة ",
498500
"sync.export.pdf.notice[1]": ". هذا ليس مستندًا قانونيًا. هذا ليس بيانًا ماليًا. هذه ليست إيصالًا. هذا لا يمثل الواقع بأي شكل من الأشكال. هذا مخصص للاستخدام الشخصي فقط.",

assets/l10n/cs_CZ.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,8 @@
493493
"sync.export.onDeviceWarning": "Všechny zálohy jsou uloženy na zařízení. Pokud aplikaci Flow odinstalujete nebo resetujete zařízení, všechny zálohy budou ztraceny!",
494494
"sync.export.pdf.accounts": "Účty",
495495
"sync.export.pdf.accounts.selected": "Vybráno {n} z {total}",
496+
"sync.export.pdf.categories": "Kategorie",
497+
"sync.export.pdf.categories.selected": "Vybráno {n} (z {total})",
496498
"sync.export.pdf.header": "Flow - Osobní finanční záznamy (neoficiální, {range})",
497499
"sync.export.pdf.notice[0]": "Vytvořeno pomocí ",
498500
"sync.export.pdf.notice[1]": ". Toto není právní dokument, finanční výkaz ani účtenka. Je určeno pouze pro osobní použití.",

assets/l10n/de_DE.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,8 @@
493493
"sync.export.onDeviceWarning": "Alle Sicherungen werden auf deinem Gerät gespeichert. Das heißt, wenn du Flow deinstallierst oder dein Gerät zurücksetzt, sind alle Sicherungen weg!",
494494
"sync.export.pdf.accounts": "Konten",
495495
"sync.export.pdf.accounts.selected": "Ausgewählt {n} (von {total})",
496+
"sync.export.pdf.categories": "Kategorien",
497+
"sync.export.pdf.categories.selected": "Ausgewählt: {n} (von {total})",
496498
"sync.export.pdf.header": "Flow - Persönliche Finanzaufzeichnungen (inoffiziell, {range})",
497499
"sync.export.pdf.notice[0]": "Erstellt von ",
498500
"sync.export.pdf.notice[1]": ". Dies ist kein rechtliches Dokument. Dies ist keine Finanzaufstellung. Dies ist keine Quittung. Dies stellt in keiner Weise die Realität dar. Es ist ausschließlich für den persönlichen Gebrauch bestimmt.",

assets/l10n/en.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,8 @@
493493
"sync.export.onDeviceWarning": "All backups are stored on-device, meaning when you uninstall Flow or reset your device, all the backups will be gone!",
494494
"sync.export.pdf.accounts": "Accounts",
495495
"sync.export.pdf.accounts.selected": "Selected {n} (out of {total})",
496+
"sync.export.pdf.categories": "Categories",
497+
"sync.export.pdf.categories.selected": "Selected {n} (out of {total})",
496498
"sync.export.pdf.header": "Flow - Personal financial records (unofficial, {range})",
497499
"sync.export.pdf.notice[0]": "Generated by ",
498500
"sync.export.pdf.notice[1]": ". This is not a legal document. This is not a financial statement. This is not a receipt. This is not a representation of reality in any way or form. This is meant for personal use only.",

assets/l10n/es_ES.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,8 @@
493493
"sync.export.onDeviceWarning": "¡Todas las copias de seguridad se almacenan en el dispositivo, lo que significa que si desinstalas Flow o restableces tu dispositivo, todas las copias de seguridad se perderán!",
494494
"sync.export.pdf.accounts": "Cuentas",
495495
"sync.export.pdf.accounts.selected": "Seleccionadas {n} (de {total})",
496+
"sync.export.pdf.categories": "Categorías",
497+
"sync.export.pdf.categories.selected": "Seleccionadas {n} (de {total})",
496498
"sync.export.pdf.header": "Flow - Registros financieros personales (no oficial, {range})",
497499
"sync.export.pdf.notice[0]": "Generado por ",
498500
"sync.export.pdf.notice[1]": ". Este no es un documento legal. Esto no es un estado financiero. Esto no es un recibo. Esto no representa la realidad de ninguna manera o forma. Está destinado únicamente para uso personal.",

assets/l10n/fr_FR.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,8 @@
493493
"sync.export.onDeviceWarning": "Toutes les sauvegardes sont stockées sur l'appareil, ce qui signifie que lorsque vous désinstallez Flow ou réinitialisez votre appareil, toutes les sauvegardes seront perdues!",
494494
"sync.export.pdf.accounts": "Comptes",
495495
"sync.export.pdf.accounts.selected": "Sélectionné {n} (sur {total})",
496+
"sync.export.pdf.categories": "Catégories",
497+
"sync.export.pdf.categories.selected": "Sélectionné(s) {n} (sur {total})",
496498
"sync.export.pdf.header": "Flow - Registres financiers personnels (non officiel, {range})",
497499
"sync.export.pdf.notice[0]": "Généré par ",
498500
"sync.export.pdf.notice[1]": ". Ce document n'est pas légal. Ce n'est pas un relevé financier. Ce n'est pas un reçu. Ce document ne représente en aucun cas la réalité. Il est destiné uniquement à un usage personnel.",

assets/l10n/it_IT.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,8 @@
493493
"sync.export.onDeviceWarning": "Tutti i backup sono memorizzati sul dispositivo, il che significa che quando disinstalli Flow o reimposti il tuo dispositivo, tutti i backup saranno persi!",
494494
"sync.export.pdf.accounts": "Conti",
495495
"sync.export.pdf.accounts.selected": "Selezionati {n} (su {total})",
496+
"sync.export.pdf.categories": "Categorie",
497+
"sync.export.pdf.categories.selected": "Selezionate {n} (di {total})",
496498
"sync.export.pdf.header": "Flow - Registri finanziari personali (non ufficiale, {range})",
497499
"sync.export.pdf.notice[0]": "Generato da ",
498500
"sync.export.pdf.notice[1]": ". Questo non è un documento legale. Questo non è un estratto conto. Questa non è una ricevuta. Questo non rappresenta in alcun modo la realtà. È destinato esclusivamente a uso personale.",

0 commit comments

Comments
 (0)