Rename log to history

This commit is contained in:
Oystein Kristoffer Tveit 2020-07-13 23:41:31 +02:00
parent 3f81379097
commit 8ee5dc7f58
2 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:jisho_study_tool/screens/kanji_search.dart'; import 'package:jisho_study_tool/screens/kanji_search.dart';
import 'package:jisho_study_tool/screens/log.dart'; import 'package:jisho_study_tool/screens/history.dart';
import 'package:jisho_study_tool/screens/search.dart'; import 'package:jisho_study_tool/screens/search.dart';
void main() => runApp(MyApp()); void main() => runApp(MyApp());
@ -65,7 +65,7 @@ final List<BottomNavigationBarItem> navBar = [
), ),
), ),
BottomNavigationBarItem( BottomNavigationBarItem(
title: Text('Log'), title: Text('History'),
icon: Icon(Icons.bookmark), icon: Icon(Icons.bookmark),
), ),
BottomNavigationBarItem( BottomNavigationBarItem(
@ -95,8 +95,8 @@ final List<Page> pages = [
content: KanjiView(), content: KanjiView(),
), ),
Page( Page(
title: "Log", title: "History",
content: LogView(), content: HistoryView(),
), ),
Page( Page(
title: "Memorization", title: "Memorization",

View File

@ -1,6 +1,6 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
class LogView extends StatelessWidget { class HistoryView extends StatelessWidget {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return ListView.builder( return ListView.builder(