Merge pull request 'Bump release-v1.3' (#60) from release-v1.3 into master

Reviewed-on: https://codeberg.org/Schoumi/PeerTubeLive/pulls/60
Fixes #58
This commit is contained in:
Schoumi 2024-05-28 23:51:23 +00:00
commit c86ca10eda
3 changed files with 15 additions and 5 deletions

View File

@ -10,8 +10,8 @@ android {
applicationId "fr.mobdev.peertubelive" applicationId "fr.mobdev.peertubelive"
minSdkVersion 21 minSdkVersion 21
targetSdkVersion 34 targetSdkVersion 34
versionCode 3 versionCode 4
versionName "1.2" versionName "1.3"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
} }

View File

@ -27,7 +27,7 @@
<category android:name="android.intent.category.LAUNCHER" /> <category android:name="android.intent.category.LAUNCHER" />
</intent-filter> </intent-filter>
</activity> </activity>
<activity android:name="fr.mobdev.peertubelive.activity.StreamActivity" android:screenOrientation="portrait"/> <activity android:name="fr.mobdev.peertubelive.activity.StreamActivity" android:screenOrientation="portrait" android:theme="@style/AppThemeStream"/>
<activity android:name="fr.mobdev.peertubelive.activity.CreateLiveActivity" /> <activity android:name="fr.mobdev.peertubelive.activity.CreateLiveActivity" />
</application> </application>

View File

@ -1,7 +1,6 @@
<resources> <resources>
<style name="AppTheme" parent="Theme.MaterialComponents.DayNight.DarkActionBar"> <style name="AppTheme" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
<item name="colorPrimary">@color/colorPrimary</item> <item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item> <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorSecondary">@color/colorSecondary</item> <item name="colorSecondary">@color/colorSecondary</item>
@ -9,16 +8,26 @@
<item name="alertDialogTheme">@style/DialogButton</item> <item name="alertDialogTheme">@style/DialogButton</item>
<!--<item name="android:editTextColor">@color/colorAccent</item>--> <!--<item name="android:editTextColor">@color/colorAccent</item>-->
</style> </style>
<style name="AppThemeStream" parent="Theme.MaterialComponents.DayNight.NoActionBar">
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorSecondary">@color/colorSecondary</item>
<item name="colorOnSecondary">@color/colorOnSecondary</item>
<item name="alertDialogTheme">@style/DialogButton</item>
<!--<item name="android:editTextColor">@color/colorAccent</item>-->
</style>
<style name="DialogButton" parent="Theme.AppCompat.DayNight.Dialog.Alert"> <style name="DialogButton" parent="Theme.AppCompat.DayNight.Dialog.Alert">
<item name="buttonBarNegativeButtonStyle">@style/buttonStyle</item> <item name="buttonBarNegativeButtonStyle">@style/buttonStyle</item>
<item name="buttonBarPositiveButtonStyle">@style/buttonStyle</item> <item name="buttonBarPositiveButtonStyle">@style/buttonStyle</item>
<item name="buttonBarNeutralButtonStyle">@style/buttonStyle</item> <item name="buttonBarNeutralButtonStyle">@style/buttonStyle</item>
</style> </style>
<style name="buttonStyle" parent="Widget.AppCompat.Button.ButtonBar.AlertDialog"> <style name="buttonStyle" parent="Widget.AppCompat.Button.ButtonBar.AlertDialog">
<item name="android:textColor">@color/colorSecondary</item> <item name="android:textColor">@color/colorSecondary</item>
</style> </style>
<style name="AppTheme.Light" parent="Theme.MaterialComponents.Light.NoActionBar"> <style name="AppTheme.Light" parent="Theme.MaterialComponents.Light.NoActionBar">
<item name="floatingActionButtonStyle">@style/floatingActionButtonStyle</item> <item name="floatingActionButtonStyle">@style/floatingActionButtonStyle</item>
</style> </style>
@ -28,6 +37,7 @@
<item name="colorSecondary">@color/colorPrimary</item> <item name="colorSecondary">@color/colorPrimary</item>
<item name="colorOnSecondary">@color/colorOnSecondary</item> <item name="colorOnSecondary">@color/colorOnSecondary</item>
</style> </style>
<style name="floatingActionButtonStyle" parent="Widget.MaterialComponents.FloatingActionButton"> <style name="floatingActionButtonStyle" parent="Widget.MaterialComponents.FloatingActionButton">
<item name="materialThemeOverlay">@style/customFabColor</item> <item name="materialThemeOverlay">@style/customFabColor</item>
</style> </style>