mirror of
https://codeberg.org/mi6e4ka/openstore.git
synced 2025-06-28 20:19:58 +00:00
fix: small changes
This commit is contained in:
parent
ae78eb5ebd
commit
b2f84afafa
1 changed files with 4 additions and 6 deletions
|
@ -22,7 +22,9 @@ final _router = GoRouter(
|
||||||
path: 'instruction',
|
path: 'instruction',
|
||||||
builder: (context, state) {
|
builder: (context, state) {
|
||||||
print(state.uri.queryParameters["utm_campaign"]);
|
print(state.uri.queryParameters["utm_campaign"]);
|
||||||
return AppPage(packageName: "ru.nspk.mirpay");
|
return AppPage(
|
||||||
|
packageName: state.uri.queryParameters["utm_campaign"] ??
|
||||||
|
"ru.nspk.mirpay");
|
||||||
})
|
})
|
||||||
]),
|
]),
|
||||||
GoRoute(
|
GoRoute(
|
||||||
|
@ -45,10 +47,6 @@ class MyApp extends StatelessWidget {
|
||||||
builder: (lightColorScheme, darkColorScheme) => MaterialApp.router(
|
builder: (lightColorScheme, darkColorScheme) => MaterialApp.router(
|
||||||
title: 'OpenStore',
|
title: 'OpenStore',
|
||||||
theme: ThemeData(
|
theme: ThemeData(
|
||||||
pageTransitionsTheme: const PageTransitionsTheme(builders: {
|
|
||||||
TargetPlatform.android:
|
|
||||||
PredictiveBackPageTransitionsBuilder(),
|
|
||||||
}),
|
|
||||||
colorScheme: darkColorScheme ??
|
colorScheme: darkColorScheme ??
|
||||||
ColorScheme.fromSeed(
|
ColorScheme.fromSeed(
|
||||||
seedColor: Colors.blue,
|
seedColor: Colors.blue,
|
||||||
|
@ -131,7 +129,7 @@ class HomePage extends StatelessWidget {
|
||||||
children: [
|
children: [
|
||||||
InkWell(
|
InkWell(
|
||||||
onTap: () async => await launchUrlString(
|
onTap: () async => await launchUrlString(
|
||||||
"https://git.mi6e4ka.dev/mi6e4ka/openstore"),
|
"https://codeberg.org/mi6e4ka/openstore"),
|
||||||
child: const Text(
|
child: const Text(
|
||||||
"source code",
|
"source code",
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue