Rename log to history

JST-11
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: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';
void main() => runApp(MyApp());
@ -65,7 +65,7 @@ final List<BottomNavigationBarItem> navBar = [
),
),
BottomNavigationBarItem(
title: Text('Log'),
title: Text('History'),
icon: Icon(Icons.bookmark),
),
BottomNavigationBarItem(
@ -95,8 +95,8 @@ final List<Page> pages = [
content: KanjiView(),
),
Page(
title: "Log",
content: LogView(),
title: "History",
content: HistoryView(),
),
Page(
title: "Memorization",

View File

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