spotube/lib/components/Shared/AnonymousFallback.dart
Kingkor Roy Tirtho 45f9d08595 lyrics not working bugfix
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
2022-03-24 13:30:59 +06:00

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"),
)
],
),
);
}
}