mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-12 23:45:18 +00:00
fix: windows webview2 environment permission issue
This commit is contained in:
parent
90493f0ea3
commit
878a441a9f
@ -71,32 +71,34 @@ class LogsPage extends HookConsumerWidget {
|
|||||||
),
|
),
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
child: switch (logsQuery) {
|
child: SafeArea(
|
||||||
AsyncData(:final value) => InterScrollbar(
|
child: switch (logsQuery) {
|
||||||
controller: controller,
|
AsyncData(:final value) => InterScrollbar(
|
||||||
child: SingleChildScrollView(
|
|
||||||
padding: const EdgeInsets.all(8.0),
|
|
||||||
controller: controller,
|
controller: controller,
|
||||||
child: Card(child: SelectableText(value)),
|
child: SingleChildScrollView(
|
||||||
),
|
padding: const EdgeInsets.all(8.0),
|
||||||
),
|
controller: controller,
|
||||||
AsyncError(:final error) => switch (error) {
|
child: Card(child: SelectableText(value)),
|
||||||
StateError() => Column(
|
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
|
||||||
children: [
|
|
||||||
Undraw(
|
|
||||||
illustration: UndrawIllustration.noData,
|
|
||||||
height: 200 * context.theme.scaling,
|
|
||||||
width: 200 * context.theme.scaling,
|
|
||||||
color: context.theme.colorScheme.primary,
|
|
||||||
),
|
|
||||||
Text(context.l10n.no_logs_found).muted().small(),
|
|
||||||
],
|
|
||||||
),
|
),
|
||||||
_ => Center(child: Text(error.toString())),
|
),
|
||||||
},
|
AsyncError(:final error) => switch (error) {
|
||||||
_ => const Center(child: CircularProgressIndicator()),
|
StateError() => Column(
|
||||||
},
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
|
children: [
|
||||||
|
Undraw(
|
||||||
|
illustration: UndrawIllustration.noData,
|
||||||
|
height: 200 * context.theme.scaling,
|
||||||
|
width: 200 * context.theme.scaling,
|
||||||
|
color: context.theme.colorScheme.primary,
|
||||||
|
),
|
||||||
|
Text(context.l10n.no_logs_found).muted().small(),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
_ => Center(child: Text(error.toString())),
|
||||||
|
},
|
||||||
|
_ => const Center(child: CircularProgressIndicator()),
|
||||||
|
},
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1221,7 +1221,7 @@ packages:
|
|||||||
description:
|
description:
|
||||||
path: "."
|
path: "."
|
||||||
ref: main
|
ref: main
|
||||||
resolved-ref: "52cd25a12c1af6a8819963d222026539e8537586"
|
resolved-ref: "01935a75640092af7947bfb21a497240376f0c83"
|
||||||
url: "https://github.com/KRTirtho/hetu_spotube_plugin.git"
|
url: "https://github.com/KRTirtho/hetu_spotube_plugin.git"
|
||||||
source: git
|
source: git
|
||||||
version: "0.0.1"
|
version: "0.0.1"
|
||||||
|
@ -56,7 +56,7 @@ dependencies:
|
|||||||
flutter_feather_icons: ^2.0.0+1
|
flutter_feather_icons: ^2.0.0+1
|
||||||
flutter_form_builder: ^9.6.0
|
flutter_form_builder: ^9.6.0
|
||||||
flutter_hooks: ^0.20.5
|
flutter_hooks: ^0.20.5
|
||||||
flutter_inappwebview: ^6.1.3
|
flutter_inappwebview: ^6.1.5
|
||||||
flutter_localizations:
|
flutter_localizations:
|
||||||
sdk: flutter
|
sdk: flutter
|
||||||
flutter_native_splash: ^2.4.6
|
flutter_native_splash: ^2.4.6
|
||||||
|
Loading…
Reference in New Issue
Block a user