removed settings (made redundant)

This commit is contained in:
odweta
2026-04-03 13:21:21 +02:00
parent fbcddec8c9
commit c92a510131
3 changed files with 24 additions and 3 deletions
+2 -2
View File
@@ -13,7 +13,7 @@ import 'pages/list.dart';
import 'pages/add.dart';
import 'pages/flashcards.dart';
import 'pages/leaderboard.dart';
import 'pages/settings.dart';
//import 'pages/settings.dart';
void main() {
runApp(
@@ -38,7 +38,7 @@ class HlaskovnikFrontendApp extends StatelessWidget {
GoRoute(path: '/add', builder: (context, state) => AddPage()),
GoRoute(path: '/flashcards', builder: (context, state) => FlashcardsPage()),
GoRoute(path: '/leaderboard', builder: (context, state) => LeaderboardPage()),
GoRoute(path: '/settings', builder: (context, state) => SettingsPage()),
//GoRoute(path: '/settings', builder: (context, state) => SettingsPage()),
],
),
],
+21 -1
View File
@@ -1,10 +1,30 @@
// !!! MADE REDUNDANT !!!
import 'package:flutter/material.dart';
//import 'package:frontend/provider/quote_provider.dart';
//import 'package:frontend/values/strings.dart';
//import 'package:provider/provider.dart';
/// settings items
/// 1. import quotes from file
class SettingsPage extends StatelessWidget {
const SettingsPage({super.key});
@override
Widget build(BuildContext context) {
return const Center(child: Text('let\'s set something up!'));
//final provider = context.watch<QuoteProvider>();
return const Center(
child: Card(
child: Row(
children: [
//Text(Strings.importQuotesFromFile),
//IconButton(onPressed: provider.importQuotesFromFile, icon: icon)
],
),
),
);
}
}
+1
View File
@@ -22,6 +22,7 @@ class Strings {
static const String flipFlashcard = "Otočit flashkartu";
static const String nextFlashcard = "Další flashkarta";
//static const String importQuotesFromFile = "Importovat hlášky ze souboru";
static const String fileExportedSuccessfully = "Soubor byl úspěšně vyexportován.";
static const String noUndo = "Tuto akci nelze odčinit.";
static const String filterQuery = "Filtrovací požadavek";