-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4972f80
commit b78eb1a
Showing
8 changed files
with
326 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,271 @@ | ||
// This source code is a part of Project Violet. | ||
// Copyright (C) 2020. violet-team. Licensed under the Apache-2.0 License. | ||
|
||
import 'package:expandable/expandable.dart'; | ||
import 'package:flutter/material.dart'; | ||
import 'package:url_launcher/url_launcher.dart'; | ||
import 'package:violet/settings/settings.dart'; | ||
|
||
class FAQPage extends StatefulWidget { | ||
@override | ||
_FAQPageState createState() => _FAQPageState(); | ||
} | ||
|
||
class _FAQPageState extends State<FAQPage> { | ||
class FAQPageKorean extends StatelessWidget { | ||
@override | ||
Widget build(BuildContext context) { | ||
return Container(); | ||
return Scaffold( | ||
appBar: AppBar( | ||
backgroundColor: Settings.majorColor, | ||
title: Text('FAQ'), | ||
), | ||
body: SingleChildScrollView( | ||
physics: BouncingScrollPhysics(), | ||
child: Column( | ||
children: [ | ||
ExpandableNotifier( | ||
child: Padding( | ||
padding: EdgeInsets.symmetric(vertical: 4.0), | ||
child: ScrollOnExpand( | ||
child: ExpandablePanel( | ||
theme: ExpandableThemeData( | ||
iconColor: | ||
Settings.themeWhat ? Colors.white : Colors.grey, | ||
animationDuration: const Duration(milliseconds: 500)), | ||
header: Padding( | ||
padding: EdgeInsets.fromLTRB(12, 12, 0, 0), | ||
child: Text('하단 메뉴바가 안보입니다.'), | ||
), | ||
expanded: Padding( | ||
padding: EdgeInsets.fromLTRB(16, 4, 16, 4), | ||
child: Column( | ||
children: [ | ||
Text( | ||
'설정에서 Drawer 옵션이 켜져있는지 확인해주세요. Drawer 메뉴는 메인 화면에서 화면 왼쪽 끝에서 오른쪽으로 밀면 열 수 있습니다.', | ||
style: TextStyle(fontSize: 12)), | ||
], | ||
), | ||
), | ||
), | ||
), | ||
), | ||
), | ||
Container( | ||
width: double.infinity, | ||
height: 0.5, | ||
color: Settings.themeWhat | ||
? Colors.grey.shade600 | ||
: Colors.grey.shade400, | ||
), | ||
ExpandableNotifier( | ||
child: Padding( | ||
padding: EdgeInsets.symmetric(vertical: 4.0), | ||
child: ScrollOnExpand( | ||
child: ExpandablePanel( | ||
theme: ExpandableThemeData( | ||
iconColor: | ||
Settings.themeWhat ? Colors.white : Colors.grey, | ||
animationDuration: const Duration(milliseconds: 500)), | ||
header: Padding( | ||
padding: EdgeInsets.fromLTRB(12, 12, 0, 0), | ||
child: Text('썸네일들이 로딩이 안됩니다.'), | ||
), | ||
expanded: Padding( | ||
padding: EdgeInsets.fromLTRB(16, 4, 16, 4), | ||
child: Column( | ||
children: [ | ||
Text( | ||
'VPN이나 DPI 우회 프로그램(1.1.1.1 또는 Intra 등)이 실행 중인지 확인해주세요.', | ||
style: TextStyle(fontSize: 12)), | ||
], | ||
), | ||
), | ||
), | ||
), | ||
), | ||
), | ||
Container( | ||
width: double.infinity, | ||
height: 0.5, | ||
color: Settings.themeWhat | ||
? Colors.grey.shade600 | ||
: Colors.grey.shade400, | ||
), | ||
ExpandableNotifier( | ||
child: Padding( | ||
padding: EdgeInsets.symmetric(vertical: 4.0), | ||
child: ScrollOnExpand( | ||
child: ExpandablePanel( | ||
theme: ExpandableThemeData( | ||
iconColor: | ||
Settings.themeWhat ? Colors.white : Colors.grey, | ||
animationDuration: const Duration(milliseconds: 500)), | ||
header: Padding( | ||
padding: EdgeInsets.fromLTRB(12, 12, 0, 0), | ||
child: Text('최신 작품들이 안보입니다.'), | ||
), | ||
expanded: Padding( | ||
padding: EdgeInsets.fromLTRB(16, 4, 16, 4), | ||
child: Column( | ||
children: [ | ||
Text( | ||
'데이터베이스를 동기화하거나 웹검색을 사용해주세요. 자세한건 하단 메뉴얼을 참고해주세요.', | ||
style: TextStyle(fontSize: 12)), | ||
], | ||
), | ||
), | ||
), | ||
), | ||
), | ||
), | ||
Container( | ||
width: double.infinity, | ||
height: 0.5, | ||
color: Settings.themeWhat | ||
? Colors.grey.shade600 | ||
: Colors.grey.shade400, | ||
), | ||
ExpandableNotifier( | ||
child: Padding( | ||
padding: EdgeInsets.symmetric(vertical: 4.0), | ||
child: ScrollOnExpand( | ||
child: ExpandablePanel( | ||
theme: ExpandableThemeData( | ||
iconColor: | ||
Settings.themeWhat ? Colors.white : Colors.grey, | ||
animationDuration: const Duration(milliseconds: 500)), | ||
header: Padding( | ||
padding: EdgeInsets.fromLTRB(12, 12, 0, 0), | ||
child: Text('북마크를 백업하고 싶어요.'), | ||
), | ||
expanded: Padding( | ||
padding: EdgeInsets.fromLTRB(16, 4, 16, 4), | ||
child: Column( | ||
children: [ | ||
Text( | ||
'설정 => 북마크 => 북마크 내보내기를 통해 북마크를 외부 저장소로 내보내고, /Android/data/xyz.project.violet/files/bookmark.db를 다른 안전한 장소에 백업해주세요. ' | ||
'북마크를 안전한 장소에 백업하지않고 앱을 삭제하면 모든 정보가 삭제되니 주의해주세요.', | ||
style: TextStyle(fontSize: 12)), | ||
], | ||
), | ||
), | ||
), | ||
), | ||
), | ||
), | ||
Container( | ||
width: double.infinity, | ||
height: 0.5, | ||
color: Settings.themeWhat | ||
? Colors.grey.shade600 | ||
: Colors.grey.shade400, | ||
), | ||
ExpandableNotifier( | ||
child: Padding( | ||
padding: EdgeInsets.symmetric(vertical: 4.0), | ||
child: ScrollOnExpand( | ||
child: ExpandablePanel( | ||
theme: ExpandableThemeData( | ||
iconColor: | ||
Settings.themeWhat ? Colors.white : Colors.grey, | ||
animationDuration: const Duration(milliseconds: 500)), | ||
header: Padding( | ||
padding: EdgeInsets.fromLTRB(12, 12, 0, 0), | ||
child: Text('다운로드가 너무 느립니다.'), | ||
), | ||
expanded: Padding( | ||
padding: EdgeInsets.fromLTRB(16, 4, 16, 4), | ||
child: Column( | ||
children: [ | ||
Text( | ||
'DPI Bypass 툴(Intra, 유니콘 등)이 실행중이라면 종료하고 재시도해보세요. 그래도 느리고, 느린이유가 앱 문제라고 생각한다면 오류 및 버그 항목으로 문의주세요.', | ||
style: TextStyle(fontSize: 12)), | ||
], | ||
), | ||
), | ||
), | ||
), | ||
), | ||
), | ||
Container( | ||
width: double.infinity, | ||
height: 0.5, | ||
color: Settings.themeWhat | ||
? Colors.grey.shade600 | ||
: Colors.grey.shade400, | ||
), | ||
ExpandableNotifier( | ||
child: Padding( | ||
padding: EdgeInsets.symmetric(vertical: 4.0), | ||
child: ScrollOnExpand( | ||
child: ExpandablePanel( | ||
theme: ExpandableThemeData( | ||
iconColor: | ||
Settings.themeWhat ? Colors.white : Colors.grey, | ||
animationDuration: const Duration(milliseconds: 500)), | ||
header: Padding( | ||
padding: EdgeInsets.fromLTRB(12, 12, 0, 0), | ||
child: Text('다운로드된 파일은 어디에 저장되나요?'), | ||
), | ||
expanded: Padding( | ||
padding: EdgeInsets.fromLTRB(16, 4, 16, 4), | ||
child: Column( | ||
children: [ | ||
Text('기본적으로 외부 저장소의 Violet 폴더에 저장됩니다.', | ||
style: TextStyle(fontSize: 12)), | ||
], | ||
), | ||
), | ||
), | ||
), | ||
), | ||
), | ||
Container( | ||
width: double.infinity, | ||
height: 0.5, | ||
color: Settings.themeWhat | ||
? Colors.grey.shade600 | ||
: Colors.grey.shade400, | ||
), | ||
ExpandableNotifier( | ||
child: Padding( | ||
padding: EdgeInsets.symmetric(vertical: 4.0), | ||
child: ScrollOnExpand( | ||
child: ExpandablePanel( | ||
theme: ExpandableThemeData( | ||
iconColor: | ||
Settings.themeWhat ? Colors.white : Colors.grey, | ||
animationDuration: const Duration(milliseconds: 500)), | ||
header: Padding( | ||
padding: EdgeInsets.fromLTRB(12, 12, 0, 0), | ||
child: Text('앱에 바이러스나 해킹기능, 백도어가 포함되어있나요?'), | ||
), | ||
expanded: Padding( | ||
padding: EdgeInsets.fromLTRB(16, 4, 16, 4), | ||
child: Column( | ||
children: [ | ||
Text('해당 기능은 포함되어있지 않습니다.', | ||
style: TextStyle(fontSize: 12)), | ||
], | ||
), | ||
), | ||
), | ||
), | ||
), | ||
), | ||
Container( | ||
height: 50, | ||
), | ||
RaisedButton( | ||
color: Settings.majorColor.withAlpha(200), | ||
textColor: Colors.white, | ||
child: Text('사용자 메뉴얼'), | ||
onPressed: () async { | ||
const url = | ||
'https://github.com/project-violet/violet/blob/dev/manual/ko.md'; | ||
if (await canLaunch(url)) { | ||
await launch(url); | ||
} | ||
}, | ||
), | ||
], | ||
), | ||
), | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.