~repos /only-bible-app
git clone https://pyrossh.dev/repos/only-bible-app.git
The only bible app you will ever need. No ads. No in-app purchases. No distractions.
1628de62
—
pyrossh 2 years ago
improve colors and icons
- README.md +12 -1
- android/app/src/main/AndroidManifest.xml +1 -1
- android/app/src/main/app_icon-playstore.png +0 -0
- android/app/src/main/res/drawable-hdpi/android12splash.png +0 -0
- android/app/src/main/res/drawable-hdpi/splash.png +0 -0
- android/app/src/main/res/drawable-mdpi/android12splash.png +0 -0
- android/app/src/main/res/drawable-mdpi/splash.png +0 -0
- android/app/src/main/res/drawable-night-hdpi/android12splash.png +0 -0
- android/app/src/main/res/drawable-night-mdpi/android12splash.png +0 -0
- android/app/src/main/res/drawable-night-xhdpi/android12splash.png +0 -0
- android/app/src/main/res/drawable-night-xxhdpi/android12splash.png +0 -0
- android/app/src/main/res/drawable-night-xxxhdpi/android12splash.png +0 -0
- android/app/src/main/res/drawable-xhdpi/android12splash.png +0 -0
- android/app/src/main/res/drawable-xhdpi/splash.png +0 -0
- android/app/src/main/res/drawable-xxhdpi/android12splash.png +0 -0
- android/app/src/main/res/drawable-xxhdpi/splash.png +0 -0
- android/app/src/main/res/drawable-xxxhdpi/android12splash.png +0 -0
- android/app/src/main/res/drawable-xxxhdpi/splash.png +0 -0
- android/app/src/main/res/drawable/app_icon_background.xml +22 -0
- android/app/src/main/res/drawable/app_icon_foreground.xml +16 -0
- android/app/src/main/res/drawable/layer_1.xml +0 -17
- android/app/src/main/res/drawable/layer_2.xml +0 -32
- android/app/src/main/res/mipmap-anydpi-v26/app_icon.xml +5 -0
- android/app/src/main/res/mipmap-anydpi-v26/app_icon_round.xml +5 -0
- android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +0 -5
- android/app/src/main/res/mipmap-hdpi/app_icon.webp +0 -0
- android/app/src/main/res/mipmap-hdpi/app_icon_round.webp +0 -0
- android/app/src/main/res/mipmap-hdpi/launcher_icon.png +0 -0
- android/app/src/main/res/mipmap-mdpi/app_icon.webp +0 -0
- android/app/src/main/res/mipmap-mdpi/app_icon_round.webp +0 -0
- android/app/src/main/res/mipmap-mdpi/launcher_icon.png +0 -0
- android/app/src/main/res/mipmap-xhdpi/app_icon.webp +0 -0
- android/app/src/main/res/mipmap-xhdpi/app_icon_round.webp +0 -0
- android/app/src/main/res/mipmap-xhdpi/launcher_icon.png +0 -0
- android/app/src/main/res/mipmap-xxhdpi/app_icon.webp +0 -0
- android/app/src/main/res/mipmap-xxhdpi/app_icon_round.webp +0 -0
- android/app/src/main/res/mipmap-xxhdpi/launcher_icon.png +0 -0
- android/app/src/main/res/mipmap-xxxhdpi/app_icon.webp +0 -0
- android/app/src/main/res/mipmap-xxxhdpi/app_icon_round.webp +0 -0
- android/app/src/main/res/mipmap-xxxhdpi/launcher_icon.png +0 -0
- assets/icon.png +0 -0
- design/icon.curve +0 -0
- ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png +0 -0
- ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png +0 -0
- ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png +0 -0
- ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png +0 -0
- ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png +0 -0
- ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png +0 -0
- ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png +0 -0
- ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png +0 -0
- ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png +0 -0
- ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png +0 -0
- ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-50x50@1x.png +0 -0
- ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-50x50@2x.png +0 -0
- ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png +0 -0
- ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png +0 -0
- ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png +0 -0
- ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png +0 -0
- ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@1x.png +0 -0
- ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@2x.png +0 -0
- ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png +0 -0
- ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png +0 -0
- ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png +0 -0
- ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png +0 -0
- ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png +0 -0
- ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png +0 -0
- ios/Runner/Base.lproj/LaunchScreen.storyboard +1 -1
- lib/state.dart +10 -0
- lib/theme.dart +6 -10
- lib/widgets/sidebar.dart +26 -52
- lib/widgets/verse_list.dart +3 -5
- macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png +0 -0
- macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png +0 -0
- macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png +0 -0
- macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png +0 -0
- macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png +0 -0
- macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png +0 -0
- macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png +0 -0
- pubspec.yaml +1 -3
- web/favicon.png +0 -0
- web/icons/Icon-192.png +0 -0
- web/icons/Icon-512.png +0 -0
- web/icons/Icon-maskable-192.png +0 -0
- web/icons/Icon-maskable-512.png +0 -0
- web/index.html +12 -0
- web/manifest.json +2 -2
- web/splash/img/dark-1x.png +0 -0
- web/splash/img/dark-2x.png +0 -0
- web/splash/img/dark-3x.png +0 -0
- web/splash/img/dark-4x.png +0 -0
- web/splash/img/light-1x.png +0 -0
- web/splash/img/light-2x.png +0 -0
- web/splash/img/light-3x.png +0 -0
- web/splash/img/light-4x.png +0 -0
- windows/runner/resources/app_icon.ico +0 -0
README.md
CHANGED
|
@@ -53,4 +53,15 @@ gsutil -m cp -r scripts/audio/Kannada gs://only-bible-app.appspot.com/
|
|
|
53
53
|
```
|
|
54
54
|
|
|
55
55
|
Note:
|
|
56
|
-
> For crashanalytics to work in dev/debug mode in macos this has to be set DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
|
56
|
+
> For crashanalytics to work in dev/debug mode in macos this has to be set DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
|
57
|
+
|
|
58
|
+
## Bugs
|
|
59
|
+
1. Fix verse number layout flow
|
|
60
|
+
2. Swipe left should pop context if chapter/book index is previous to the current one to maintain scroll history.
|
|
61
|
+
3. Reduce verse line spacing
|
|
62
|
+
|
|
63
|
+
## Todo
|
|
64
|
+
1. Add Sqlite for highlighting, notes, chapter verses
|
|
65
|
+
2. Custom Selection should show action bar instead of tooltip/popup menu
|
|
66
|
+
3. Figure out history
|
|
67
|
+
4. Add more text compact/loose maybe spacing
|
android/app/src/main/AndroidManifest.xml
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<application
|
|
3
3
|
android:label="Only Bible"
|
|
4
4
|
android:name="${applicationName}"
|
|
5
|
-
android:icon="@mipmap/
|
|
5
|
+
android:icon="@mipmap/app_icon">
|
|
6
6
|
<activity
|
|
7
7
|
android:name=".MainActivity"
|
|
8
8
|
android:exported="true"
|
android/app/src/main/app_icon-playstore.png
ADDED
|
Binary file
|
android/app/src/main/res/drawable-hdpi/android12splash.png
CHANGED
|
Binary file
|
android/app/src/main/res/drawable-hdpi/splash.png
CHANGED
|
Binary file
|
android/app/src/main/res/drawable-mdpi/android12splash.png
CHANGED
|
Binary file
|
android/app/src/main/res/drawable-mdpi/splash.png
CHANGED
|
Binary file
|
android/app/src/main/res/drawable-night-hdpi/android12splash.png
CHANGED
|
Binary file
|
android/app/src/main/res/drawable-night-mdpi/android12splash.png
CHANGED
|
Binary file
|
android/app/src/main/res/drawable-night-xhdpi/android12splash.png
CHANGED
|
Binary file
|
android/app/src/main/res/drawable-night-xxhdpi/android12splash.png
CHANGED
|
Binary file
|
android/app/src/main/res/drawable-night-xxxhdpi/android12splash.png
CHANGED
|
Binary file
|
android/app/src/main/res/drawable-xhdpi/android12splash.png
CHANGED
|
Binary file
|
android/app/src/main/res/drawable-xhdpi/splash.png
CHANGED
|
Binary file
|
android/app/src/main/res/drawable-xxhdpi/android12splash.png
CHANGED
|
Binary file
|
android/app/src/main/res/drawable-xxhdpi/splash.png
CHANGED
|
Binary file
|
android/app/src/main/res/drawable-xxxhdpi/android12splash.png
CHANGED
|
Binary file
|
android/app/src/main/res/drawable-xxxhdpi/splash.png
CHANGED
|
Binary file
|
android/app/src/main/res/drawable/app_icon_background.xml
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
|
2
|
+
android:width="108dp"
|
|
3
|
+
android:height="108dp"
|
|
4
|
+
android:viewportWidth="108.05"
|
|
5
|
+
android:viewportHeight="108.1">
|
|
6
|
+
<group android:scaleX="0.99953747"
|
|
7
|
+
android:translateX="0.024988437">
|
|
8
|
+
<path
|
|
9
|
+
android:pathData="M20.18,0.05L108.05,0.05L108.05,108.05L20.18,108.05L20.18,0.05Z"
|
|
10
|
+
android:fillColor="#aa504c"
|
|
11
|
+
android:fillType="nonZero"
|
|
12
|
+
android:strokeColor="#00000000"/>
|
|
13
|
+
<path
|
|
14
|
+
android:pathData="M0.05,0.05L20.18,0.05L20.18,108.05L6.61,108.05L0.05,108.05L0.05,0.05Z"
|
|
15
|
+
android:strokeLineJoin="round"
|
|
16
|
+
android:strokeWidth="0.1"
|
|
17
|
+
android:fillColor="#7f3c3c"
|
|
18
|
+
android:fillType="nonZero"
|
|
19
|
+
android:strokeColor="#7d3837"
|
|
20
|
+
android:strokeLineCap="butt"/>
|
|
21
|
+
</group>
|
|
22
|
+
</vector>
|
android/app/src/main/res/drawable/app_icon_foreground.xml
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
|
2
|
+
android:width="108dp"
|
|
3
|
+
android:height="108dp"
|
|
4
|
+
android:viewportWidth="45.074"
|
|
5
|
+
android:viewportHeight="72.118">
|
|
6
|
+
<group android:scaleX="0.38576603"
|
|
7
|
+
android:scaleY="0.61722225"
|
|
8
|
+
android:translateX="13.842991"
|
|
9
|
+
android:translateY="13.802584">
|
|
10
|
+
<path
|
|
11
|
+
android:pathData="M42.82,15.776L29.298,15.776L29.298,2.254C29.298,1.009 28.289,0 27.044,0L18.03,0C16.785,0 15.776,1.009 15.776,2.254L15.776,15.776L2.254,15.776C1.009,15.776 0,16.785 0,18.03L0,27.044C0,28.289 1.009,29.298 2.254,29.298L15.776,29.298L15.776,69.865C15.776,71.109 16.785,72.118 18.03,72.118L27.044,72.118C28.289,72.118 29.298,71.109 29.298,69.865L29.298,29.298L42.82,29.298C44.065,29.298 45.074,28.289 45.074,27.044L45.074,18.03C45.074,16.785 44.065,15.776 42.82,15.776Z"
|
|
12
|
+
android:fillColor="#ffb441"
|
|
13
|
+
android:fillType="nonZero"
|
|
14
|
+
android:strokeColor="#00000000"/>
|
|
15
|
+
</group>
|
|
16
|
+
</vector>
|
android/app/src/main/res/drawable/layer_1.xml
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
|
2
|
-
android:width="108dp"
|
|
3
|
-
android:height="108dp"
|
|
4
|
-
android:viewportWidth="108"
|
|
5
|
-
android:viewportHeight="108">
|
|
6
|
-
<group
|
|
7
|
-
android:scaleX="0.7"
|
|
8
|
-
android:scaleY="0.7"
|
|
9
|
-
android:translateX="40"
|
|
10
|
-
android:translateY="30">
|
|
11
|
-
<path
|
|
12
|
-
android:fillColor="#ffb441"
|
|
13
|
-
android:fillType="nonZero"
|
|
14
|
-
android:pathData="M44.07,15.776L30.548,15.776L30.548,2.254C30.548,1.009 29.539,0 28.294,0L19.28,0C18.035,0 17.026,1.009 17.026,2.254L17.026,15.776L3.504,15.776C2.259,15.776 1.25,16.785 1.25,18.03L1.25,27.044C1.25,28.289 2.259,29.298 3.504,29.298L17.026,29.298L17.026,69.865C17.026,71.109 18.035,72.118 19.28,72.118L28.294,72.118C29.539,72.118 30.548,71.109 30.548,69.865L30.548,29.298L44.07,29.298C45.315,29.298 46.324,28.289 46.324,27.044L46.324,18.03C46.324,16.785 45.315,15.776 44.07,15.776Z"
|
|
15
|
-
android:strokeColor="#00000000" />
|
|
16
|
-
</group>
|
|
17
|
-
</vector>
|
android/app/src/main/res/drawable/layer_2.xml
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
|
2
|
-
android:width="110.62dp"
|
|
3
|
-
android:height="108dp"
|
|
4
|
-
android:viewportWidth="110.62"
|
|
5
|
-
android:viewportHeight="108">
|
|
6
|
-
<path
|
|
7
|
-
android:pathData="M29.62,0L110.62,0L110.62,108L29.62,108L29.62,0Z"
|
|
8
|
-
android:fillColor="#aa504c"
|
|
9
|
-
android:fillType="nonZero"
|
|
10
|
-
android:strokeColor="#00000000"/>
|
|
11
|
-
<path
|
|
12
|
-
android:pathData="M2.62,0L29.62,0L29.62,108L2.62,108L2.62,0Z"
|
|
13
|
-
android:fillColor="#963c3c"
|
|
14
|
-
android:fillType="nonZero"
|
|
15
|
-
android:strokeColor="#00000000"/>
|
|
16
|
-
<path
|
|
17
|
-
android:pathData="M0.05,32.65C0.05,31.21 1.6,30.05 3.52,30.05L23.41,30.05C25.32,30.05 26.88,31.21 26.88,32.65L26.88,35.01C26.88,36.44 25.32,37.61 23.41,37.61L3.52,37.61C1.6,37.61 0.05,36.44 0.05,35.01L0.05,32.65Z"
|
|
18
|
-
android:strokeLineJoin="round"
|
|
19
|
-
android:strokeWidth="0.1"
|
|
20
|
-
android:fillColor="#7f3c3c"
|
|
21
|
-
android:fillType="nonZero"
|
|
22
|
-
android:strokeColor="#7d3837"
|
|
23
|
-
android:strokeLineCap="butt"/>
|
|
24
|
-
<path
|
|
25
|
-
android:pathData="M0.05,75.05C0.05,73.62 1.6,72.46 3.52,72.46L23.41,72.46C25.32,72.46 26.88,73.62 26.88,75.05L26.88,77.41C26.88,78.85 25.32,80.01 23.41,80.01L3.52,80.01C1.6,80.01 0.05,78.85 0.05,77.41L0.05,75.05Z"
|
|
26
|
-
android:strokeLineJoin="round"
|
|
27
|
-
android:strokeWidth="0.1"
|
|
28
|
-
android:fillColor="#7f3c3c"
|
|
29
|
-
android:fillType="nonZero"
|
|
30
|
-
android:strokeColor="#7d3837"
|
|
31
|
-
android:strokeLineCap="butt"/>
|
|
32
|
-
</vector>
|
android/app/src/main/res/mipmap-anydpi-v26/app_icon.xml
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
|
3
|
+
<background android:drawable="@drawable/app_icon_background"/>
|
|
4
|
+
<foreground android:drawable="@drawable/app_icon_foreground"/>
|
|
5
|
+
</adaptive-icon>
|
android/app/src/main/res/mipmap-anydpi-v26/app_icon_round.xml
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
|
3
|
+
<background android:drawable="@drawable/app_icon_background"/>
|
|
4
|
+
<foreground android:drawable="@drawable/app_icon_foreground"/>
|
|
5
|
+
</adaptive-icon>
|
android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
|
3
|
-
<background android:drawable="@drawable/layer_2"/>
|
|
4
|
-
<foreground android:drawable="@drawable/layer_1"/>
|
|
5
|
-
</adaptive-icon>
|
android/app/src/main/res/mipmap-hdpi/app_icon.webp
ADDED
|
Binary file
|
android/app/src/main/res/mipmap-hdpi/app_icon_round.webp
ADDED
|
Binary file
|
android/app/src/main/res/mipmap-hdpi/launcher_icon.png
DELETED
|
Binary file
|
android/app/src/main/res/mipmap-mdpi/app_icon.webp
ADDED
|
Binary file
|
android/app/src/main/res/mipmap-mdpi/app_icon_round.webp
ADDED
|
Binary file
|
android/app/src/main/res/mipmap-mdpi/launcher_icon.png
DELETED
|
Binary file
|
android/app/src/main/res/mipmap-xhdpi/app_icon.webp
ADDED
|
Binary file
|
android/app/src/main/res/mipmap-xhdpi/app_icon_round.webp
ADDED
|
Binary file
|
android/app/src/main/res/mipmap-xhdpi/launcher_icon.png
DELETED
|
Binary file
|
android/app/src/main/res/mipmap-xxhdpi/app_icon.webp
ADDED
|
Binary file
|
android/app/src/main/res/mipmap-xxhdpi/app_icon_round.webp
ADDED
|
Binary file
|
android/app/src/main/res/mipmap-xxhdpi/launcher_icon.png
DELETED
|
Binary file
|
android/app/src/main/res/mipmap-xxxhdpi/app_icon.webp
ADDED
|
Binary file
|
android/app/src/main/res/mipmap-xxxhdpi/app_icon_round.webp
ADDED
|
Binary file
|
android/app/src/main/res/mipmap-xxxhdpi/launcher_icon.png
DELETED
|
Binary file
|
assets/icon.png
CHANGED
|
Binary file
|
design/icon.curve
CHANGED
|
Binary file
|
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
CHANGED
|
Binary file
|
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
CHANGED
|
Binary file
|
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
CHANGED
|
Binary file
|
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
CHANGED
|
Binary file
|
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
CHANGED
|
Binary file
|
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
CHANGED
|
Binary file
|
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
CHANGED
|
Binary file
|
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
CHANGED
|
Binary file
|
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
CHANGED
|
Binary file
|
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
CHANGED
|
Binary file
|
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-50x50@1x.png
CHANGED
|
Binary file
|
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-50x50@2x.png
CHANGED
|
Binary file
|
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png
CHANGED
|
Binary file
|
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png
CHANGED
|
Binary file
|
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
CHANGED
|
Binary file
|
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
CHANGED
|
Binary file
|
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@1x.png
CHANGED
|
Binary file
|
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@2x.png
CHANGED
|
Binary file
|
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
CHANGED
|
Binary file
|
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
CHANGED
|
Binary file
|
ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
CHANGED
|
Binary file
|
ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
CHANGED
|
Binary file
|
ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
CHANGED
|
Binary file
|
ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
CHANGED
|
Binary file
|
ios/Runner/Base.lproj/LaunchScreen.storyboard
CHANGED
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
</scene>
|
|
39
39
|
</scenes>
|
|
40
40
|
<resources>
|
|
41
|
-
<image name="LaunchImage" width="
|
|
41
|
+
<image name="LaunchImage" width="1024" height="1024"/>
|
|
42
42
|
<image name="LaunchBackground" width="1" height="1"/>
|
|
43
43
|
</resources>
|
|
44
44
|
</document>
|
lib/state.dart
CHANGED
|
@@ -136,6 +136,16 @@ class ChapterViewModel extends ChangeNotifier {
|
|
|
136
136
|
return Provider.of(context, listen: false);
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
+
static Book selectedBook(BuildContext context) {
|
|
140
|
+
final model = of(context);
|
|
141
|
+
return AppModel.of(context).bible.books[model.book];
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
static Chapter selectedChapter(BuildContext context) {
|
|
145
|
+
final model = of(context);
|
|
146
|
+
return AppModel.of(context).bible.books[model.book].chapters[model.chapter];
|
|
147
|
+
}
|
|
148
|
+
|
|
139
149
|
ChapterViewModel({required this.book, required this.chapter, required this.selectedVerses}) {
|
|
140
150
|
save(book, chapter);
|
|
141
151
|
}
|
lib/theme.dart
CHANGED
|
@@ -4,9 +4,9 @@ final lightTheme = ThemeData(
|
|
|
4
4
|
brightness: Brightness.light,
|
|
5
5
|
useMaterial3: true,
|
|
6
6
|
fontFamily: "Roboto",
|
|
7
|
-
primaryColor: const Color(
|
|
7
|
+
primaryColor: const Color(0xFF602C2C),
|
|
8
|
-
primaryColorDark: const Color(
|
|
8
|
+
primaryColorDark: const Color(0xFF482122),
|
|
9
|
-
primaryColorLight: const Color(
|
|
9
|
+
primaryColorLight: const Color(0xFF8A4242),
|
|
10
10
|
secondaryHeaderColor: const Color(0xFFFFB341),
|
|
11
11
|
highlightColor: const Color(0xAAF8D0DC),
|
|
12
12
|
hoverColor: const Color(0xAAF8D0DC),
|
|
@@ -84,10 +84,6 @@ final lightTheme = ThemeData(
|
|
|
84
84
|
fontSize: 38,
|
|
85
85
|
fontWeight: FontWeight.w700,
|
|
86
86
|
color: Color(0xFFFFB341),
|
|
87
|
-
// letterSpacing: 2,
|
|
88
|
-
shadows: [
|
|
89
|
-
Shadow(color: Colors.black, offset: Offset(0, 1), blurRadius: 3.0),
|
|
90
|
-
],
|
|
91
87
|
),
|
|
92
88
|
headlineMedium: TextStyle(
|
|
93
89
|
color: Color(0xFF010101),
|
|
@@ -109,9 +105,9 @@ final darkTheme = ThemeData(
|
|
|
109
105
|
fontFamily: "Roboto",
|
|
110
106
|
useMaterial3: true,
|
|
111
107
|
visualDensity: VisualDensity.adaptivePlatformDensity,
|
|
112
|
-
primaryColor: const Color(
|
|
108
|
+
primaryColor: const Color(0xFF4C2323),
|
|
113
|
-
primaryColorDark: const Color(
|
|
109
|
+
primaryColorDark: const Color(0xFF3C1B1C),
|
|
114
|
-
primaryColorLight: const Color(
|
|
110
|
+
primaryColorLight: const Color(0xFF7F3D3C),
|
|
115
111
|
secondaryHeaderColor: const Color(0xFFFFC351),
|
|
116
112
|
highlightColor: const Color(0xAA5D4979),
|
|
117
113
|
hoverColor: const Color(0xAA5D4979),
|
lib/widgets/sidebar.dart
CHANGED
|
@@ -21,39 +21,38 @@ class Sidebar extends StatelessWidget {
|
|
|
21
21
|
),
|
|
22
22
|
),
|
|
23
23
|
),
|
|
24
|
-
const Belt(top: 80),
|
|
25
|
-
Belt(top: height - 120),
|
|
26
24
|
const Bookmark(left: 70),
|
|
27
25
|
SizedBox(
|
|
28
26
|
width: 250,
|
|
29
27
|
height: height,
|
|
30
|
-
child:
|
|
28
|
+
child: DecoratedBox(
|
|
31
|
-
|
|
29
|
+
decoration: const BoxDecoration(
|
|
32
|
-
|
|
30
|
+
border: Border(
|
|
33
|
-
|
|
31
|
+
right: BorderSide(
|
|
34
|
-
|
|
32
|
+
color: Colors.black,
|
|
35
|
-
|
|
33
|
+
width: 1.5,
|
|
36
|
-
),
|
|
37
34
|
),
|
|
38
35
|
),
|
|
36
|
+
),
|
|
39
|
-
|
|
37
|
+
child: Padding(
|
|
40
|
-
|
|
38
|
+
padding: const EdgeInsets.only(bottom: 50, right: 50, top: 0),
|
|
41
|
-
|
|
39
|
+
child: Column(
|
|
42
|
-
|
|
40
|
+
mainAxisAlignment: MainAxisAlignment.center,
|
|
43
|
-
|
|
41
|
+
crossAxisAlignment: CrossAxisAlignment.end,
|
|
44
|
-
|
|
42
|
+
children: [
|
|
45
|
-
|
|
43
|
+
Flexible(
|
|
46
|
-
|
|
44
|
+
child: Text("ONLY", style: Theme.of(context).textTheme.headlineLarge),
|
|
47
|
-
|
|
45
|
+
),
|
|
48
|
-
|
|
46
|
+
Flexible(
|
|
49
|
-
|
|
47
|
+
child: Text("BIBLE", style: Theme.of(context).textTheme.headlineLarge),
|
|
50
|
-
|
|
48
|
+
),
|
|
51
|
-
|
|
49
|
+
Flexible(
|
|
52
|
-
|
|
50
|
+
child: Text("APP", style: Theme.of(context).textTheme.headlineLarge),
|
|
53
|
-
|
|
51
|
+
),
|
|
54
|
-
|
|
52
|
+
],
|
|
55
|
-
|
|
53
|
+
),
|
|
56
|
-
|
|
54
|
+
),
|
|
55
|
+
),
|
|
57
56
|
),
|
|
58
57
|
],
|
|
59
58
|
),
|
|
@@ -127,28 +126,3 @@ class Bookmark extends StatelessWidget {
|
|
|
127
126
|
);
|
|
128
127
|
}
|
|
129
128
|
}
|
|
130
|
-
|
|
131
|
-
class Belt extends StatelessWidget {
|
|
132
|
-
final double top;
|
|
133
|
-
|
|
134
|
-
const Belt({super.key, required this.top});
|
|
135
|
-
|
|
136
|
-
@override
|
|
137
|
-
Widget build(BuildContext context) {
|
|
138
|
-
return Positioned(
|
|
139
|
-
left: 0.0,
|
|
140
|
-
top: top,
|
|
141
|
-
child: Container(
|
|
142
|
-
width: 60.0,
|
|
143
|
-
height: 30.0,
|
|
144
|
-
decoration: BoxDecoration(
|
|
145
|
-
borderRadius: const BorderRadius.only(
|
|
146
|
-
bottomRight: Radius.circular(25),
|
|
147
|
-
topRight: Radius.circular(25),
|
|
148
|
-
),
|
|
149
|
-
color: Theme.of(context).primaryColorLight,
|
|
150
|
-
),
|
|
151
|
-
),
|
|
152
|
-
);
|
|
153
|
-
}
|
|
154
|
-
}
|
lib/widgets/verse_list.dart
CHANGED
|
@@ -7,9 +7,7 @@ class VerseList extends StatelessWidget {
|
|
|
7
7
|
|
|
8
8
|
@override
|
|
9
9
|
Widget build(BuildContext context) {
|
|
10
|
-
final selectedBible = AppModel.of(context).bible;
|
|
11
|
-
final
|
|
10
|
+
final chapter = ChapterViewModel.selectedChapter(context);
|
|
12
|
-
final verses = selectedBible.books[model.book].chapters[model.chapter].verses;
|
|
13
11
|
return SelectionArea(
|
|
14
12
|
child: ListView.builder(
|
|
15
13
|
physics: const BouncingScrollPhysics(),
|
|
@@ -19,9 +17,9 @@ class VerseList extends StatelessWidget {
|
|
|
19
17
|
right: 20,
|
|
20
18
|
bottom: 55, // TODO: maybe make this 55 only when actions bar is show else 20
|
|
21
19
|
),
|
|
22
|
-
itemCount: verses.length,
|
|
20
|
+
itemCount: chapter.verses.length,
|
|
23
21
|
itemBuilder: (BuildContext context, int index) {
|
|
24
|
-
final v = verses[index];
|
|
22
|
+
final v = chapter.verses[index];
|
|
25
23
|
return Container(
|
|
26
24
|
margin: const EdgeInsets.symmetric(vertical: 6),
|
|
27
25
|
child: VerseText(index: index, text: v.text),
|
macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png
CHANGED
|
Binary file
|
macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png
CHANGED
|
Binary file
|
macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png
CHANGED
|
Binary file
|
macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png
CHANGED
|
Binary file
|
macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png
CHANGED
|
Binary file
|
macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png
CHANGED
|
Binary file
|
macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png
CHANGED
|
Binary file
|
pubspec.yaml
CHANGED
|
@@ -51,11 +51,9 @@ flutter:
|
|
|
51
51
|
weight: 700
|
|
52
52
|
|
|
53
53
|
flutter_launcher_icons:
|
|
54
|
-
android:
|
|
54
|
+
android: false
|
|
55
55
|
ios: true
|
|
56
56
|
image_path: "assets/icon.png"
|
|
57
|
-
min_sdk_android: 26
|
|
58
|
-
remove_alpha_ios: true
|
|
59
57
|
web:
|
|
60
58
|
generate: true
|
|
61
59
|
background_color: "#FFFFFF"
|
web/favicon.png
CHANGED
|
Binary file
|
web/icons/Icon-192.png
CHANGED
|
Binary file
|
web/icons/Icon-512.png
CHANGED
|
Binary file
|
web/icons/Icon-maskable-192.png
CHANGED
|
Binary file
|
web/icons/Icon-maskable-512.png
CHANGED
|
Binary file
|
web/index.html
CHANGED
|
@@ -51,6 +51,14 @@
|
|
|
51
51
|
|
|
52
52
|
|
|
53
53
|
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
54
62
|
|
|
55
63
|
|
|
56
64
|
|
|
@@ -139,6 +147,10 @@
|
|
|
139
147
|
|
|
140
148
|
|
|
141
149
|
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
|
|
142
154
|
<script>
|
|
143
155
|
window.addEventListener('load', function(ev) {
|
|
144
156
|
// Download main.dart.js
|
web/manifest.json
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
"short_name": "only_bible_app",
|
|
4
4
|
"start_url": ".",
|
|
5
5
|
"display": "standalone",
|
|
6
|
-
"background_color": "#
|
|
6
|
+
"background_color": "#FFFFFF",
|
|
7
|
-
"theme_color": "#
|
|
7
|
+
"theme_color": "#FFFFFF",
|
|
8
8
|
"description": "A new Flutter project.",
|
|
9
9
|
"orientation": "portrait-primary",
|
|
10
10
|
"prefer_related_applications": false,
|
web/splash/img/dark-1x.png
CHANGED
|
Binary file
|
web/splash/img/dark-2x.png
CHANGED
|
Binary file
|
web/splash/img/dark-3x.png
CHANGED
|
Binary file
|
web/splash/img/dark-4x.png
CHANGED
|
Binary file
|
web/splash/img/light-1x.png
CHANGED
|
Binary file
|
web/splash/img/light-2x.png
CHANGED
|
Binary file
|
web/splash/img/light-3x.png
CHANGED
|
Binary file
|
web/splash/img/light-4x.png
CHANGED
|
Binary file
|
windows/runner/resources/app_icon.ico
CHANGED
|
Binary file
|