Skip to content

Commit c5bad20

Browse files
authored
Convert about (#114)
* initial work on about page improvements to handling translations tweaks to main page * tweaks to about view * broke down VM, Presentation, and View to share code among Pages * fixed file names * added url to presentation * fixed some filename cases * finalized about page features * removed legacy about view code * added release notes file * added icon to main view adjusted text on main * changed splash background to dark background / icon
1 parent 6d44b59 commit c5bad20

File tree

14 files changed

+38
-382
lines changed

14 files changed

+38
-382
lines changed

gic_flutter/android/app/src/main/AndroidManifest.xml

-3
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,6 @@
4747
<category android:name="android.intent.category.LAUNCHER" />
4848
</intent-filter>
4949
</activity>
50-
<activity
51-
android:name=".views.AboutActivity"
52-
android:theme="@style/AppTheme.NoActionBar" />
5350
<activity
5451
android:name=".views.screenmanager.ScreenManagerActivity"
5552
android:theme="@style/AppTheme.NoActionBar"

gic_flutter/android/app/src/main/kotlin/ca/coffeeshopstudio/gaminginterfaceclient/MainActivity.kt

-6
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import android.preference.PreferenceManager
66
import androidx.core.util.forEach
77
import ca.coffeeshopstudio.gaminginterfaceclient.models.screen.ScreenRepository
88
import ca.coffeeshopstudio.gaminginterfaceclient.utils.CryptoHelper
9-
import ca.coffeeshopstudio.gaminginterfaceclient.views.AboutActivity
109
import ca.coffeeshopstudio.gaminginterfaceclient.views.DonateActivity
1110
import ca.coffeeshopstudio.gaminginterfaceclient.views.GameActivity
1211
import ca.coffeeshopstudio.gaminginterfaceclient.views.screenmanager.ScreenManagerActivity
@@ -49,11 +48,6 @@ class MainActivity: FlutterActivity() {
4948
MethodChannel(flutterView, channelView).setMethodCallHandler { call, result ->
5049
_result = result
5150
when (call.method) {
52-
actionAbout -> {
53-
val intent = Intent(this, AboutActivity::class.java)
54-
startActivity(intent)
55-
result.success(true)
56-
}
5751
actionDonate -> {
5852
val intent = Intent(this, DonateActivity::class.java)
5953
startActivity(intent)

gic_flutter/android/app/src/main/kotlin/ca/coffeeshopstudio/gaminginterfaceclient/views/AboutActivity.kt

-89
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
<!-- Modify this file to customize your launch splash screen -->
3-
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
4-
<item android:drawable="@android:color/white" />
5-
6-
<!-- You can insert your own image assets here -->
7-
<!-- <item>
8-
<bitmap
9-
android:gravity="center"
10-
android:src="@mipmap/launch_image" />
11-
</item> -->
12-
</layer-list>
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- Modify this file to customize your launch splash screen -->
3+
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
4+
<item android:drawable="@color/darkThemeBackgroundColor" />
5+
6+
<item>
7+
<bitmap
8+
android:gravity="center"
9+
android:src="@drawable/launch_image" />
10+
</item>
11+
</layer-list>
Loading

gic_flutter/android/app/src/main/res/layout/activity_about.xml

-33
This file was deleted.

gic_flutter/android/app/src/main/res/layout/content_about.xml

-186
This file was deleted.

0 commit comments

Comments
 (0)