mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-07-25 23:45:40 -04:00
update deps, fix context
This commit is contained in:
parent
fa72782f39
commit
2caaf35d52
3 changed files with 68 additions and 54 deletions
|
@ -291,10 +291,12 @@ class InvitationDialogState extends State<InvitationDialog> {
|
||||||
const Icon(Icons.error).paddingAll(16)
|
const Icon(Icons.error).paddingAll(16)
|
||||||
]).toCenter(),
|
]).toCenter(),
|
||||||
if (_validInvitation != null && !_isValidating)
|
if (_validInvitation != null && !_isValidating)
|
||||||
Column(children: [
|
Column(crossAxisAlignment: CrossAxisAlignment.stretch, children: [
|
||||||
ProfileWidget(
|
ProfileWidget(
|
||||||
profile: _validInvitation!.remoteProfile,
|
profile: _validInvitation!.remoteProfile,
|
||||||
byline: _validInvitation!.remoteProfile.pronouns,
|
byline: _validInvitation!.remoteProfile.pronouns.isEmpty
|
||||||
|
? null
|
||||||
|
: _validInvitation!.remoteProfile.pronouns,
|
||||||
).paddingLTRB(0, 0, 0, 16),
|
).paddingLTRB(0, 0, 0, 16),
|
||||||
Row(
|
Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
|
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
|
||||||
|
|
|
@ -69,7 +69,9 @@ class HomeScreenState extends State<HomeScreen>
|
||||||
await showAlertWidgetModal(
|
await showAlertWidgetModal(
|
||||||
context: context,
|
context: context,
|
||||||
title: translate('splash.beta_title'),
|
title: translate('splash.beta_title'),
|
||||||
child: Column(mainAxisAlignment: MainAxisAlignment.center, children: [
|
child: Builder(
|
||||||
|
builder: (context) =>
|
||||||
|
Column(mainAxisAlignment: MainAxisAlignment.center, children: [
|
||||||
Icon(Icons.warning, size: 64.scaled(context)),
|
Icon(Icons.warning, size: 64.scaled(context)),
|
||||||
RichText(
|
RichText(
|
||||||
textScaler: MediaQuery.of(context).textScaler,
|
textScaler: MediaQuery.of(context).textScaler,
|
||||||
|
@ -90,8 +92,8 @@ class HomeScreenState extends State<HomeScreen>
|
||||||
decoration: TextDecoration.underline,
|
decoration: TextDecoration.underline,
|
||||||
),
|
),
|
||||||
recognizer: TapGestureRecognizer()
|
recognizer: TapGestureRecognizer()
|
||||||
..onTap = () =>
|
..onTap = () => launchUrlString(
|
||||||
launchUrlString('https://veilid.com/chat/knownissues'),
|
'https://veilid.com/chat/knownissues'),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
@ -113,7 +115,7 @@ class HomeScreenState extends State<HomeScreen>
|
||||||
),
|
),
|
||||||
]),
|
]),
|
||||||
]),
|
]),
|
||||||
);
|
));
|
||||||
|
|
||||||
final preferencesInstance = PreferencesRepository.instance;
|
final preferencesInstance = PreferencesRepository.instance;
|
||||||
await preferencesInstance.set(preferencesInstance.value.copyWith(
|
await preferencesInstance.set(preferencesInstance.value.copyWith(
|
||||||
|
|
26
pubspec.lock
26
pubspec.lock
|
@ -92,10 +92,11 @@ packages:
|
||||||
async_tools:
|
async_tools:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
path: "../dart_async_tools"
|
name: async_tools
|
||||||
relative: true
|
sha256: "9611c1efeae7e6d342721d0c2caf2e4783d91fba6a9637d7badfa2dccf8de2a2"
|
||||||
source: path
|
url: "https://pub.dev"
|
||||||
version: "0.1.9"
|
source: hosted
|
||||||
|
version: "0.1.10"
|
||||||
auto_size_text:
|
auto_size_text:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
|
@ -155,10 +156,11 @@ packages:
|
||||||
bloc_advanced_tools:
|
bloc_advanced_tools:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
path: "../bloc_advanced_tools"
|
name: bloc_advanced_tools
|
||||||
relative: true
|
sha256: "63e57000df7259e3007dbfbbfd7dae3e0eca60eb2ac93cbe0c5a3de0e77c9972"
|
||||||
source: path
|
url: "https://pub.dev"
|
||||||
version: "0.1.12"
|
source: hosted
|
||||||
|
version: "0.1.13"
|
||||||
blurry_modal_progress_hud:
|
blurry_modal_progress_hud:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
|
@ -175,6 +177,14 @@ packages:
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "2.1.2"
|
version: "2.1.2"
|
||||||
|
buffer:
|
||||||
|
dependency: transitive
|
||||||
|
description:
|
||||||
|
name: buffer
|
||||||
|
sha256: "389da2ec2c16283c8787e0adaede82b1842102f8c8aae2f49003a766c5c6b3d1"
|
||||||
|
url: "https://pub.dev"
|
||||||
|
source: hosted
|
||||||
|
version: "1.2.3"
|
||||||
build:
|
build:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue