mirror of
https://github.com/Dr-Blank/Vaani.git
synced 2025-12-25 12:29:30 +00:00
refactor: update personalized view handling, improve GitHub issue link, and adjust VaaniLogo size
This commit is contained in:
parent
fa815ae206
commit
758e4cdc83
4 changed files with 11 additions and 5 deletions
|
|
@ -9,6 +9,7 @@ import 'package:vaani/api/authenticated_user_provider.dart';
|
|||
import 'package:vaani/hacks/fix_autofill_losing_focus.dart';
|
||||
import 'package:vaani/models/error_response.dart';
|
||||
import 'package:vaani/router/router.dart';
|
||||
import 'package:vaani/settings/constants.dart';
|
||||
import 'package:vaani/settings/models/models.dart' as model;
|
||||
import 'package:vaani/shared/utils.dart';
|
||||
|
||||
|
|
@ -206,8 +207,10 @@ Future<void> handleServerError(
|
|||
onPressed: () {
|
||||
// open an issue on the github page
|
||||
handleLaunchUrl(
|
||||
Uri.parse(
|
||||
'https://github.com/Dr-Blank/Vaani/issues',
|
||||
AppMetadata.githubRepo
|
||||
// append the issue url
|
||||
.replace(
|
||||
path: '${AppMetadata.githubRepo.path}/issues/new',
|
||||
),
|
||||
);
|
||||
},
|
||||
|
|
|
|||
|
|
@ -105,7 +105,6 @@ class YouPage extends HookConsumerWidget {
|
|||
showNotImplementedToast(context);
|
||||
},
|
||||
),
|
||||
|
||||
AboutListTile(
|
||||
icon: const Icon(Icons.info),
|
||||
applicationName: AppMetadata.appName,
|
||||
|
|
@ -128,7 +127,9 @@ class YouPage extends HookConsumerWidget {
|
|||
Theme.of(context).colorScheme.primary,
|
||||
BlendMode.srcIn,
|
||||
),
|
||||
child: const VaaniLogo(),
|
||||
child: const VaaniLogo(
|
||||
size: 48,
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue