Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FCM over UP #77

Draft
wants to merge 2,891 commits into
base: krille/fcm-over-up
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
2891 commits
Select commit Hold shift + click to select a range
831adce
refactor: Better future loading dialog without flickering
krille-chan Oct 13, 2024
d78c45a
chore: Follow up powerlevel role badges
krille-chan Oct 13, 2024
416cdc1
Merge pull request #1411 from krille-chan/krille/better-future-loadin…
krille-chan Oct 13, 2024
d1e211a
refactor: Use adaptive dialog action
krille-chan Oct 18, 2024
0301c83
fix: Wait for room invite before open in pushhelper
krille-chan Oct 19, 2024
3faf6df
feat: Nicer room creation UI
krille-chan Oct 19, 2024
31907f7
chore: Follow up loading dialog
krille-chan Oct 19, 2024
8c94681
docs: fix snapstore badge on website
krille-chan Oct 21, 2024
32d868b
build: Update matrix dart sdk
krille-chan Oct 21, 2024
7d8369a
feat: Add default chat wallpaper
krille-chan Oct 21, 2024
4857684
Revert "feat: Add default chat wallpaper"
krille-chan Oct 21, 2024
4ec70bd
chore: Follow up new chat design
krille-chan Oct 21, 2024
7288545
Revert "chore: Follow up new chat design"
krille-chan Oct 21, 2024
fcc43e3
chore: Slightly update chat colors
krille-chan Oct 21, 2024
3f9c7f3
feat: Swipe to archive rooms
krille-chan Oct 22, 2024
282f450
chore: Follow up dismiss room
krille-chan Oct 22, 2024
c76a5fd
build: Update flutter web auth 2 package
krille-chan Oct 23, 2024
d088a7c
chore: Change same enivornment to one hour
krille-chan Oct 24, 2024
c89c95e
chore: Update pubspec.yaml
krille-chan Oct 25, 2024
d7c2d1b
chore: Follow up sameEnvironment calc
krille-chan Oct 26, 2024
3420c8a
build: Build on rpi for linux arm64
krille-chan Oct 21, 2024
85c4271
Merge pull request #1421 from krille-chan/krille/build-on-rpi
krille-chan Oct 26, 2024
6177445
build: Also build for arm64 for linux releases
krille-chan Oct 26, 2024
2158e8d
Merge pull request #1430 from krille-chan/krille/release-linux-arm64
krille-chan Oct 26, 2024
924bb59
Translated using Weblate (Russian)
mandranela Oct 18, 2024
4beb51d
Translated using Weblate (Italian)
Oct 17, 2024
b86fff0
Translated using Weblate (German)
Atalanttore Oct 19, 2024
ede84b8
Translated using Weblate (Estonian)
Oct 19, 2024
351fd9d
Translated using Weblate (Turkish)
oersen Oct 18, 2024
5b15992
Translated using Weblate (Ukrainian)
Oct 19, 2024
cab0a42
Translated using Weblate (Chinese (Simplified Han script))
Oct 19, 2024
cdb9793
Translated using Weblate (Italian)
Oct 18, 2024
f747353
Translated using Weblate (Indonesian)
Linerly Oct 19, 2024
bdc7453
Translated using Weblate (Latvian)
GGLVXD Oct 18, 2024
c21deb4
Translated using Weblate (Basque)
xabirequejo Oct 20, 2024
603c08d
Translated using Weblate (Ukrainian)
IhorHordiichuk Oct 19, 2024
e4dd7c6
Translated using Weblate (Arabic)
rex07 Oct 21, 2024
e574b98
Translated using Weblate (Galician)
Oct 21, 2024
dbe0e08
Translated using Weblate (Latvian)
Oct 21, 2024
8c02e63
Translated using Weblate (Italian)
Oct 23, 2024
cb32608
Merge pull request #1418 from weblate/weblate-fluffychat-translations
krille-chan Oct 26, 2024
7e8716a
Translated using Weblate (German)
krille-chan Oct 26, 2024
41782c4
chore: Nicer invite selection view
krille-chan Oct 26, 2024
a422d47
chore: Do not request thousands of users on invite page
krille-chan Oct 26, 2024
c4ecaa6
Merge pull request #1433 from weblate/weblate-fluffychat-translations
krille-chan Oct 26, 2024
51edfed
build(deps): bump rexml from 3.3.6 to 3.3.9 in /ios
dependabot[bot] Oct 28, 2024
189493e
design: Highlight emoji only messages
krille-chan Oct 29, 2024
6c548ec
chore: Follow up emoji only messages
krille-chan Oct 29, 2024
a18e2c4
Merge pull request #1437 from krille-chan/dependabot/bundler/ios/rexm…
krille-chan Oct 29, 2024
5524725
Translated using Weblate (Galician)
Oct 29, 2024
44f9846
Translated using Weblate (Russian)
Oct 28, 2024
3c5855c
design: New login design
krille-chan Oct 29, 2024
facaf37
Merge pull request #1441 from weblate/weblate-fluffychat-translations
krille-chan Oct 31, 2024
83f5a63
Merge pull request #1439 from krille-chan/krille/new-login-design
krille-chan Oct 31, 2024
a51cc08
chore: Improve spaces design
krille-chan Oct 31, 2024
f143a60
chore: Improve spaces design
krille-chan Nov 1, 2024
b9cd24e
chore: Improved UX for creating groups and spaces
krille-chan Nov 1, 2024
f07cabe
Merge pull request #1445 from krille-chan/krille/improved-create-grou…
krille-chan Nov 1, 2024
c0efa3a
Translated using Weblate (German)
krille-chan Oct 31, 2024
9ee7551
feat: Better wallpapers with blur and opacity sliders and improved st…
krille-chan Nov 1, 2024
61b8faf
Merge pull request #1447 from krille-chan/krille/better-wallpapers-an…
krille-chan Nov 1, 2024
66ea73e
chore: Follow up wallpaper configs
krille-chan Nov 1, 2024
84e2563
chore: Add max length to state messages
krille-chan Nov 1, 2024
a359c76
Merge pull request #1446 from weblate/weblate-fluffychat-translations
krille-chan Nov 1, 2024
b0a074c
chore: Follow up wallpaper design
krille-chan Nov 1, 2024
be7a7fb
feat: Open account manage url when using MAS
krille-chan Nov 2, 2024
593acd7
chore: follow up wellknown fetch
krille-chan Nov 2, 2024
ce57a34
Translated using Weblate (Arabic)
rex07 Nov 1, 2024
2c7bac8
Translated using Weblate (Estonian)
Nov 1, 2024
c288201
Translated using Weblate (Chinese (Simplified Han script))
Nov 2, 2024
5d402eb
Translated using Weblate (Indonesian)
Linerly Nov 2, 2024
0463aae
Translated using Weblate (Finnish)
Nov 1, 2024
01bea4b
Translated using Weblate (Latvian)
Nov 1, 2024
9019d9c
build: Add links to snapcraft.yaml file
krille-chan Nov 3, 2024
8ba46a3
chore: Nicer empty page
krille-chan Nov 3, 2024
45299a7
chore: Polish chat bubble colors
krille-chan Nov 3, 2024
6e92693
chore: Follow up chat bubble design
krille-chan Nov 3, 2024
4453048
refactor: Remove unnecessary builder widget
krille-chan Nov 3, 2024
133e7ab
chore: Design adjustments
krille-chan Nov 3, 2024
6b4ed7b
chore: Follow up design
krille-chan Nov 3, 2024
972c58b
refactor: Display two lines on new messages
krille-chan Nov 3, 2024
640e2ff
chore: Design follow up
krille-chan Nov 3, 2024
693a93c
Merge pull request #1451 from weblate/weblate-fluffychat-translations
krille-chan Nov 3, 2024
e787051
Translated using Weblate (Arabic)
rex07 Nov 2, 2024
88f8777
Translated using Weblate (German)
krille-chan Nov 3, 2024
201fba1
Translated using Weblate (Estonian)
Nov 2, 2024
8002390
Translated using Weblate (Basque)
xabirequejo Nov 2, 2024
0dafd61
Translated using Weblate (Ukrainian)
Nov 2, 2024
8144522
Translated using Weblate (Chinese (Simplified Han script))
Nov 3, 2024
769baa3
chore: Follow up message bubbles
krille-chan Nov 3, 2024
f1b03b1
Merge pull request #1455 from weblate/weblate-fluffychat-translations
krille-chan Nov 3, 2024
812a1c0
chore: Follow up design
krille-chan Nov 3, 2024
da857d6
chore: Follow up design
krille-chan Nov 3, 2024
2f39b1e
chore: Follow up colors
krille-chan Nov 3, 2024
65fd8a4
chore: Follow up homeserverpicker UX
krille-chan Nov 3, 2024
cdaaad9
chore: Design follow up
krille-chan Nov 3, 2024
448a111
feat: Add about server page
krille-chan Nov 3, 2024
c447c20
chore: Follow up update snackbar
krille-chan Nov 4, 2024
3a8bb47
chore: Polish login design
krille-chan Nov 4, 2024
4b7345d
chore: Follow up login page
krille-chan Nov 4, 2024
a2e7356
chore: Follow up homeserver picker
krille-chan Nov 4, 2024
9906668
chore: Follow up appbar shadow
krille-chan Nov 4, 2024
58577bb
refactor: Performance boost for avatar widget
krille-chan Nov 6, 2024
d2c2284
Revert "refactor: Performance boost for avatar widget"
krille-chan Nov 6, 2024
2adf292
Translated using Weblate (Estonian)
Nov 3, 2024
252e2cb
Translated using Weblate (Ukrainian)
IhorHordiichuk Nov 3, 2024
246f2be
Translated using Weblate (Latvian)
Nov 4, 2024
edd0375
Translated using Weblate (Arabic)
rex07 Nov 4, 2024
bd8b8d6
Translated using Weblate (Estonian)
Nov 5, 2024
42c5f09
Translated using Weblate (Basque)
xabirequejo Nov 5, 2024
72d07ba
Translated using Weblate (Galician)
Nov 5, 2024
e1b584d
Translated using Weblate (Chinese (Simplified Han script))
Nov 5, 2024
4620718
Translated using Weblate (Indonesian)
Linerly Nov 5, 2024
c385a7a
Translated using Weblate (Latvian)
Nov 5, 2024
72ba342
Translated using Weblate (Ukrainian)
Nov 6, 2024
2adfadb
Translated using Weblate (Korean)
userhey3tcwhi8784tr87t2398 Nov 7, 2024
b2e1acc
chore: Follow up homeserver input field
krille-chan Nov 7, 2024
b66c2ca
Merge pull request #1459 from weblate/weblate-fluffychat-translations
krille-chan Nov 7, 2024
6d4cc45
refactor: Move to upstream geolocator
krille-chan Nov 7, 2024
cbe2e6b
Merge pull request #1463 from krille-chan/krille/move-to-upstream-geo…
krille-chan Nov 7, 2024
ae8965b
chore: Follow up send file dialog
krille-chan Nov 8, 2024
92f6adf
Translated using Weblate (Spanish)
Kiimby Nov 10, 2024
be6a2b6
Merge pull request #1470 from weblate/weblate-fluffychat-translations
krille-chan Nov 11, 2024
f5c2148
refactor: Migrate to newer keyboard shortcuts package
krille-chan Nov 11, 2024
cb153ad
Merge pull request #1471 from krille-chan/krille/use-newer-keyboard-s…
krille-chan Nov 11, 2024
39de990
refactor: Remove keyboard shortcuts
krille-chan Nov 11, 2024
5fc4e1c
build: Update matrix dart sdk to 0.35.0
krille-chan Nov 11, 2024
6c54e55
chore: Better FluffyChat Logo for PWA
krille-chan Nov 14, 2024
da70152
build: (deps): bump samuelmeuli/action-snapcraft from 2 to 3
dependabot[bot] Nov 14, 2024
9fab763
chore: Follow up send file dialog
krille-chan Nov 15, 2024
2202345
feat: Add markdown context actions for text input
krille-chan Nov 15, 2024
2c5d6e4
build: Update flutter to 3.24.5
krille-chan Nov 17, 2024
bac16ce
Merge pull request #1487 from krille-chan/krille/flutter-3-24-5
krille-chan Nov 17, 2024
d9a18dc
Merge pull request #1483 from krille-chan/dependabot/github_actions/s…
krille-chan Nov 17, 2024
325431c
build: Remove snapcraft build workaround
krille-chan Nov 17, 2024
5fc75ac
chore: Better error message when join room failed
krille-chan Nov 19, 2024
b6668ce
chore: Follow up join room
krille-chan Nov 19, 2024
18d4a5d
chore: Make error dialog show full error
krille-chan Nov 19, 2024
46d62fd
chore: Follow up loading dialog
krille-chan Nov 19, 2024
3d7cd80
chore: Follow up loading dialog
krille-chan Nov 19, 2024
b440d56
build: Snapcraft from local build file
krille-chan Nov 19, 2024
56f6f7c
chore: Follow up build snap
krille-chan Nov 19, 2024
12bb717
chore: Follow up snapcraft in ci
krille-chan Nov 20, 2024
d8cf6df
build: Revert build snapcraft changes
krille-chan Nov 20, 2024
1c5c491
build: Try downgrading flutter web auth
krille-chan Nov 20, 2024
a493020
chore: add hint in pubspec.yaml regarding flutter_web_auth_2
krille-chan Nov 20, 2024
a49540d
Translated using Weblate (Estonian)
Nov 11, 2024
20d9741
Translated using Weblate (Galician)
Nov 11, 2024
97d47dc
Translated using Weblate (Chinese (Simplified Han script))
Nov 12, 2024
dac49a9
Translated using Weblate (Indonesian)
Linerly Nov 12, 2024
45c135d
Translated using Weblate (Irish)
aindriu80 Nov 11, 2024
6ae9b9d
Translated using Weblate (Arabic)
rex07 Nov 12, 2024
ab2ae47
Translated using Weblate (Basque)
xabirequejo Nov 12, 2024
9a066ed
Translated using Weblate (Ukrainian)
Nov 12, 2024
16f471a
Translated using Weblate (Latvian)
Nov 12, 2024
f8b7f74
Translated using Weblate (Italian)
Nov 15, 2024
3203fff
Translated using Weblate (Estonian)
Nov 17, 2024
fb9197d
Translated using Weblate (Chinese (Simplified Han script))
Nov 17, 2024
9376e49
Translated using Weblate (Arabic)
rex07 Nov 18, 2024
fae481e
Translated using Weblate (Basque)
xabirequejo Nov 18, 2024
891caf9
Translated using Weblate (Irish)
aindriu80 Nov 18, 2024
90959df
Translated using Weblate (Indonesian)
Linerly Nov 19, 2024
9c96b28
Translated using Weblate (Latvian)
Nov 19, 2024
6a2b431
Translated using Weblate (Arabic)
rex07 Nov 20, 2024
068bbb6
Translated using Weblate (Estonian)
Nov 20, 2024
94eaa99
Translated using Weblate (Chinese (Simplified Han script))
Nov 20, 2024
12b012a
Translated using Weblate (Irish)
krille-chan Nov 20, 2024
aa3d03b
Translated using Weblate (German)
krille-chan Nov 20, 2024
1a76f68
Merge pull request #1474 from weblate/weblate-fluffychat-translations
krille-chan Nov 20, 2024
98b4bec
fix: dont use thumbnails for emoticons
marekvospel Nov 17, 2024
44a7c9e
chore: Improve presence performance
krille-chan Nov 20, 2024
a4c0bd8
Merge pull request #1488 from marekvospel/no-unnecessary-thumbnail
krille-chan Nov 20, 2024
1f5aac6
Translated using Weblate (Basque)
xabirequejo Nov 20, 2024
92e53c9
Merge pull request #1492 from weblate/weblate-fluffychat-translations
krille-chan Nov 21, 2024
0c847fc
Translated using Weblate (Galician)
Nov 21, 2024
694bed7
Translated using Weblate (Italian)
Nov 21, 2024
71a1c8f
Merge pull request #1493 from weblate/weblate-fluffychat-translations
krille-chan Nov 23, 2024
127da9a
Translated using Weblate (Irish)
aindriu80 Nov 22, 2024
8fc7c13
Translated using Weblate (Russian)
Nov 24, 2024
51ee72c
Translated using Weblate (Ukrainian)
Nov 23, 2024
3acbff0
Translated using Weblate (Catalan)
Nov 24, 2024
a40eab5
build: Bump version
krille-chan Nov 24, 2024
a1f4462
Merge pull request #1494 from weblate/weblate-fluffychat-translations
krille-chan Nov 25, 2024
363eabb
chore: Follow up send file dialog for images
krille-chan Nov 25, 2024
ae0999e
chore: Follow up send multiple images
krille-chan Nov 26, 2024
ef85d48
build: Add android build workaround for new flutter version
krille-chan Nov 26, 2024
8f483c6
build: Use file selector to save files
krille-chan Nov 29, 2024
0dc8a01
chore: Follow up save file on desktop
krille-chan Nov 29, 2024
625680e
chore: Adjust default linux window height
krille-chan Nov 29, 2024
9bd6399
refactor: Update to new receive sharing intent package
krille-chan Nov 30, 2024
6286f30
Merge pull request #1503 from krille-chan/krille/update-receive-shari…
krille-chan Nov 30, 2024
69d4c50
chore: Do not display sender prefix for DM rooms in notification ticker
krille-chan Nov 30, 2024
88e63d1
refactor: Improved share / forward dialog
krille-chan Dec 1, 2024
b65d3db
Merge pull request #1504 from krille-chan/krille/new-share-file-dialog
krille-chan Dec 1, 2024
a0cc5e5
chore: Follow up share files
krille-chan Dec 1, 2024
b05c02b
chore: Enable share multiple files to app
krille-chan Dec 1, 2024
0503c79
chore: Follow up safearea showscaffolddialog
krille-chan Dec 1, 2024
b680853
Merge pull request #1505 from krille-chan/krille/allow-share-multiple
krille-chan Dec 1, 2024
63d5d6e
chore: Check file size before loading
krille-chan Dec 1, 2024
d182e1e
chore: Follow up share scaffold
krille-chan Dec 1, 2024
8366cce
refactor: Better custom image resizer
krille-chan Dec 2, 2024
6386a6d
chore: Follow up share scaffold dialog
krille-chan Dec 2, 2024
1e6e50b
chore: Follow up share multiple files
krille-chan Dec 2, 2024
793b3dd
refactor: Clean up android manifest
krille-chan Dec 2, 2024
fa8d9c0
Translated using Weblate (Indonesian)
Linerly Nov 25, 2024
c5e76e2
Translated using Weblate (Estonian)
Nov 27, 2024
904f953
Translated using Weblate (Chinese (Simplified Han script))
Nov 27, 2024
bb0a161
Translated using Weblate (Catalan)
fadelkon Nov 26, 2024
3d4634e
Translated using Weblate (Indonesian)
Linerly Nov 26, 2024
0e7ae43
Translated using Weblate (Irish)
aindriu80 Nov 26, 2024
7fa0d67
Translated using Weblate (Latvian)
Nov 27, 2024
38b18bc
Translated using Weblate (Galician)
Nov 28, 2024
6068a5d
Translated using Weblate (Ukrainian)
Nov 28, 2024
43e1cbb
Translated using Weblate (German)
krille-chan Nov 30, 2024
3e65041
Translated using Weblate (Russian)
Hiteke Dec 2, 2024
ed17460
Translated using Weblate (Italian)
Dec 1, 2024
bf76b50
Merge pull request #1498 from weblate/weblate-fluffychat-translations
krille-chan Dec 3, 2024
b4c5cd8
chore: Do not set Person if sender is dm room user
krille-chan Dec 3, 2024
7feb815
chore: Revert no Person object for DM room
krille-chan Dec 3, 2024
5321a37
chore: Remove conversationTitle if room is dm room in android notific…
krille-chan Dec 3, 2024
cd611ae
chore: Display normal Slider when no waveform provided in audioplayer
krille-chan Dec 3, 2024
833d435
build: Clean up snapcraft packages
krille-chan Dec 4, 2024
a6380b5
build: Add missing libssl library
krille-chan Dec 4, 2024
d25bfe3
chore: Improve join abandoned invite exception
krille-chan Dec 5, 2024
3faace9
chore: Follow up share page
krille-chan Dec 6, 2024
b186021
refactor: Improve UX of user role in UserBottomSheet
krille-chan Dec 8, 2024
e2ad119
chore: Improve UserBottomSheet UX
krille-chan Dec 8, 2024
960d603
refactor: Adjust chat list item UX
krille-chan Dec 8, 2024
dea2916
chore: Better bottom sheets on desktop
krille-chan Dec 8, 2024
365c49c
chore: Follow up desktop bottom sheet
krille-chan Dec 9, 2024
8819c40
refactor: Implement own adaptive dialogs and remove package
krille-chan Dec 10, 2024
a169484
Merge pull request #1517 from krille-chan/krille/new-dialogs
krille-chan Dec 10, 2024
21be49c
chore: Follow up new dialogs
krille-chan Dec 10, 2024
7ec39a1
chore: Improve alias UX in chat settings
krille-chan Dec 11, 2024
96fc964
fix: Wrong sorted imports
krille-chan Dec 11, 2024
e28ff74
Merge pull request #1519 from krille-chan/krille/fix-ci-tests
krille-chan Dec 11, 2024
8f83c9d
Translated using Weblate (Basque)
xabirequejo Dec 3, 2024
24b1d80
Translated using Weblate (Polish)
0rzech Dec 7, 2024
0687c0a
Merge pull request #1509 from weblate/weblate-fluffychat-translations
krille-chan Dec 12, 2024
dbf3ecc
feat: QR Code viewer for mxid sharing
krille-chan Dec 14, 2024
11817e6
Merge pull request #1524 from krille-chan/krille/qr-code-sharing
krille-chan Dec 14, 2024
21196a1
chore: Follow up qr code buttons
krille-chan Dec 15, 2024
dbe8c1b
build: Update to flutter 3.27
krille-chan Dec 12, 2024
73f448e
Merge pull request #1521 from krille-chan/krille/fix-analyzer-warning…
krille-chan Dec 15, 2024
24b4e81
chore: Follow up bottomsheets
krille-chan Dec 15, 2024
7b1d46a
chore: Make message bubble color dark also in dark mode
krille-chan Dec 16, 2024
7aa9603
build: Deprecated web stuff
krille-chan Dec 17, 2024
c30e6c4
build: Update matrix sdk and dependencies
krille-chan Dec 17, 2024
67dd7f7
fix: Use MB and KB instead of MiB and KiB for file sizes
krille-chan Dec 18, 2024
583bf5f
build: Update dart_webrtc package
krille-chan Dec 19, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: Follow up bottomsheets
krille-chan committed Dec 15, 2024
commit 24b4e8157cdfc6a65fe3ad11b1f945acf00bca52
1 change: 0 additions & 1 deletion lib/pages/bootstrap/bootstrap_dialog.dart
Original file line number Diff line number Diff line change
@@ -27,7 +27,6 @@ class BootstrapDialog extends StatefulWidget {
Future<bool?> show(BuildContext context) => showAdaptiveBottomSheet(
context: context,
builder: (context) => this,
maxHeight: 600,
);

@override
13 changes: 0 additions & 13 deletions lib/pages/chat_details/chat_details_view.dart
Original file line number Diff line number Diff line change
@@ -9,12 +9,10 @@ import 'package:fluffychat/pages/chat_details/chat_details.dart';
import 'package:fluffychat/pages/chat_details/participant_list_item.dart';
import 'package:fluffychat/utils/fluffy_share.dart';
import 'package:fluffychat/utils/matrix_sdk_extensions/matrix_locals.dart';
import 'package:fluffychat/utils/show_scaffold_dialog.dart';
import 'package:fluffychat/widgets/avatar.dart';
import 'package:fluffychat/widgets/chat_settings_popup_menu.dart';
import 'package:fluffychat/widgets/layouts/max_width_body.dart';
import 'package:fluffychat/widgets/matrix.dart';
import 'package:fluffychat/widgets/share_scaffold_dialog.dart';
import '../../utils/url_launcher.dart';
import '../../widgets/qr_code_viewer.dart';

@@ -60,17 +58,6 @@ class ChatDetailsView extends StatelessWidget {
elevation: theme.appBarTheme.elevation,
actions: <Widget>[
if (room.canonicalAlias.isNotEmpty) ...[
IconButton(
onPressed: () {
showScaffoldDialog(
context: context,
builder: (context) => ShareScaffoldDialog(
items: [TextShareItem(room.canonicalAlias)],
),
);
},
icon: const Icon(Icons.forward_outlined),
),
IconButton(
tooltip: L10n.of(context).share,
icon: const Icon(Icons.qr_code_rounded),
17 changes: 0 additions & 17 deletions lib/pages/user_bottom_sheet/user_bottom_sheet_view.dart
Original file line number Diff line number Diff line change
@@ -7,12 +7,10 @@ import 'package:matrix/matrix.dart';
import 'package:fluffychat/config/app_config.dart';
import 'package:fluffychat/utils/date_time_extension.dart';
import 'package:fluffychat/utils/fluffy_share.dart';
import 'package:fluffychat/utils/show_scaffold_dialog.dart';
import 'package:fluffychat/utils/url_launcher.dart';
import 'package:fluffychat/widgets/avatar.dart';
import 'package:fluffychat/widgets/presence_builder.dart';
import 'package:fluffychat/widgets/qr_code_viewer.dart';
import 'package:fluffychat/widgets/share_scaffold_dialog.dart';
import '../../widgets/matrix.dart';
import 'user_bottom_sheet.dart';

@@ -43,21 +41,6 @@ class UserBottomSheetView extends StatelessWidget {
centerTitle: false,
title: Text(displayname),
actions: [
Padding(
padding: const EdgeInsets.symmetric(horizontal: 8),
child: IconButton(
onPressed: () {
Navigator.of(context).pop();
showScaffoldDialog(
context: context,
builder: (context) => ShareScaffoldDialog(
items: [TextShareItem(userId)],
),
);
},
icon: const Icon(Icons.forward_outlined),
),
),
Padding(
padding: const EdgeInsets.symmetric(horizontal: 8),
child: IconButton(
4 changes: 3 additions & 1 deletion lib/utils/adaptive_bottom_sheet.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import 'dart:math';

import 'package:flutter/material.dart';

import 'package:fluffychat/config/app_config.dart';
@@ -8,9 +10,9 @@ Future<T?> showAdaptiveBottomSheet<T>({
required Widget Function(BuildContext) builder,
bool isDismissible = true,
bool isScrollControlled = true,
double maxHeight = 600,
bool useRootNavigator = true,
}) {
final maxHeight = min(MediaQuery.of(context).size.height - 32, 600);
final dialogMode = FluffyThemes.isColumnMode(context);
return showModalBottomSheet(
context: context,
21 changes: 2 additions & 19 deletions lib/widgets/public_room_bottom_sheet.dart
Original file line number Diff line number Diff line change
@@ -6,13 +6,11 @@ import 'package:go_router/go_router.dart';
import 'package:matrix/matrix.dart';

import 'package:fluffychat/utils/fluffy_share.dart';
import 'package:fluffychat/utils/show_scaffold_dialog.dart';
import 'package:fluffychat/utils/url_launcher.dart';
import 'package:fluffychat/widgets/avatar.dart';
import 'package:fluffychat/widgets/future_loading_dialog.dart';
import 'package:fluffychat/widgets/matrix.dart';
import 'package:fluffychat/widgets/qr_code_viewer.dart';
import 'package:fluffychat/widgets/share_scaffold_dialog.dart';

class PublicRoomBottomSheet extends StatelessWidget {
final String? roomAlias;
@@ -104,24 +102,9 @@ class PublicRoomBottomSheet extends StatelessWidget {
? null
: [
Padding(
padding: const EdgeInsets.symmetric(horizontal: 8),
padding: const EdgeInsets.symmetric(horizontal: 8.0),
child: IconButton(
onPressed: () {
Navigator.of(context).pop();
showScaffoldDialog(
context: context,
builder: (context) => ShareScaffoldDialog(
items: [TextShareItem(roomAlias)],
),
);
},
icon: const Icon(Icons.forward_outlined),
),
),
Padding(
padding: const EdgeInsets.symmetric(horizontal: 16.0),
child: IconButton(
icon: Icon(Icons.adaptive.share_outlined),
icon: const Icon(Icons.qr_code_rounded),
onPressed: () => showQrCodeViewer(
context,
roomAlias,
Loading