mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-12 23:45:18 +00:00

Download track feature complete support in Android Android sudden solid color screen inno-script updated for permission_handler gensums updated for support for android apk updated description of Spotube in every file changes added to CHANGELOG
24 lines
633 B
Dart
24 lines
633 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:go_router/go_router.dart';
|
|
|
|
class AnonymousFallback extends StatelessWidget {
|
|
const AnonymousFallback({Key? key}) : super(key: key);
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Center(
|
|
child: Column(
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
children: [
|
|
const Text("You're not logged in"),
|
|
const SizedBox(height: 10),
|
|
ElevatedButton(
|
|
child: const Text("Login with Spotify"),
|
|
onPressed: () => GoRouter.of(context).push("/settings"),
|
|
)
|
|
],
|
|
),
|
|
);
|
|
}
|
|
}
|