mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-01-15 07:48:40 +00:00
add monochrome icon
This commit is contained in:
parent
570d820ada
commit
1eaa1a5edd
9 changed files with 27 additions and 10 deletions
|
|
@ -1,5 +1,10 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 0.0.69
|
||||||
|
|
||||||
|
- Support Android Monochrome Icon
|
||||||
|
- Multiple bug fixes
|
||||||
|
|
||||||
## 0.0.67
|
## 0.0.67
|
||||||
|
|
||||||
- Adds crash reports (optional). Please consider enabling this under Settings > Help > “Share errors and crashes with us.”
|
- Adds crash reports (optional). Please consider enabling this under Settings > Help > “Share errors and crashes with us.”
|
||||||
|
|
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 4.9 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 4 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 5.7 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 6.5 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 9.2 KiB |
|
|
@ -6,4 +6,9 @@
|
||||||
android:drawable="@drawable/ic_launcher_foreground"
|
android:drawable="@drawable/ic_launcher_foreground"
|
||||||
android:inset="16%" />
|
android:inset="16%" />
|
||||||
</foreground>
|
</foreground>
|
||||||
|
<monochrome>
|
||||||
|
<inset
|
||||||
|
android:drawable="@drawable/ic_launcher_monochrome"
|
||||||
|
android:inset="16%" />
|
||||||
|
</monochrome>
|
||||||
</adaptive-icon>
|
</adaptive-icon>
|
||||||
|
|
|
||||||
|
|
@ -247,16 +247,22 @@ class GroupsDao extends DatabaseAccessor<TwonlyDB> with _$GroupsDaoMixin {
|
||||||
.get();
|
.get();
|
||||||
}
|
}
|
||||||
|
|
||||||
Future<List<GroupMember>> getAllGroupMemberWithoutPublicKey() {
|
Future<List<GroupMember>> getAllGroupMemberWithoutPublicKey() async {
|
||||||
final query =
|
try {
|
||||||
((select(groups)..where((t) => t.isDirectChat.equals(false))).join([
|
final query = ((select(groupMembers)
|
||||||
leftOuterJoin(
|
..where((t) => t.groupPublicKey.isNull()))
|
||||||
groupMembers,
|
.join([
|
||||||
groupMembers.groupId.equalsExp(groups.groupId),
|
leftOuterJoin(
|
||||||
),
|
groups,
|
||||||
])
|
groups.groupId.equalsExp(groupMembers.groupId),
|
||||||
..where(groupMembers.groupPublicKey.isNull()));
|
),
|
||||||
return query.map((row) => row.readTable(groupMembers)).get();
|
])
|
||||||
|
..where(groups.isDirectChat.isNull()));
|
||||||
|
return query.map((row) => row.readTable(groupMembers)).get();
|
||||||
|
} catch (e) {
|
||||||
|
Log.error(e);
|
||||||
|
return [];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Future<Group?> getDirectChat(int userId) async {
|
Future<Group?> getDirectChat(int userId) async {
|
||||||
|
|
|
||||||
|
|
@ -109,6 +109,7 @@ flutter_launcher_icons:
|
||||||
ios: false
|
ios: false
|
||||||
image_path: "assets/images/logo.png"
|
image_path: "assets/images/logo.png"
|
||||||
adaptive_icon_foreground: "assets/images/logo.png"
|
adaptive_icon_foreground: "assets/images/logo.png"
|
||||||
|
adaptive_icon_monochrome: "assets/images/logo.png"
|
||||||
min_sdk_android: 21 # android min sdk min:16, default 21
|
min_sdk_android: 21 # android min sdk min:16, default 21
|
||||||
remove_alpha_ios: true
|
remove_alpha_ios: true
|
||||||
adaptive_icon_background: "#FF57CC99"
|
adaptive_icon_background: "#FF57CC99"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue