Merge branch 'release37' into 'master'
Release37 See merge request pixeldroid/PixelDroid!607
This commit is contained in:
commit
0ca6b27cd3
|
@ -46,7 +46,7 @@ android {
|
|||
defaultConfig {
|
||||
minSdkVersion 23
|
||||
targetSdkVersion 34
|
||||
versionCode 36
|
||||
versionCode 37
|
||||
versionName "1.0.beta" + versionCode
|
||||
|
||||
//TODO add resConfigs("en", "fr", "ja",...) ?
|
||||
|
@ -257,7 +257,7 @@ dependencies {
|
|||
implementation 'io.reactivex.rxjava3:rxandroid:3.0.2'
|
||||
implementation 'com.github.connyduck:sparkbutton:4.1.0'
|
||||
|
||||
implementation 'org.pixeldroid.pixeldroid:android-media-editor:3.1'
|
||||
implementation 'org.pixeldroid.pixeldroid:android-media-editor:4.0'
|
||||
implementation project(path: ':scrambler')
|
||||
implementation project(path: ':pixel_common')
|
||||
|
||||
|
|
|
@ -73,7 +73,6 @@ import org.pixeldroid.app.posts.feeds.uncachedFeeds.UncachedPostsFragment
|
|||
import org.pixeldroid.app.profile.ProfileActivity
|
||||
import org.pixeldroid.app.searchDiscover.SearchDiscoverFragment
|
||||
import org.pixeldroid.app.settings.SettingsActivity
|
||||
import org.pixeldroid.app.settings.SettingsActivity.SettingsFragment
|
||||
import org.pixeldroid.app.settings.TutorialSettingsDialog.Companion.START_TUTORIAL
|
||||
import org.pixeldroid.app.utils.BaseActivity
|
||||
import org.pixeldroid.app.utils.Tab
|
||||
|
@ -704,7 +703,9 @@ class MainActivity : BaseActivity() {
|
|||
}
|
||||
} }
|
||||
Tab.SEARCH_DISCOVER_FEED -> { { SearchDiscoverFragment() } }
|
||||
Tab.CREATE_FEED -> { { CameraFragment() } }
|
||||
Tab.CREATE_FEED -> { { CameraFragment().apply {
|
||||
arguments = Bundle().apply { putInt(START_TUTORIAL, intent.getIntExtra(START_TUTORIAL, -1)) }
|
||||
} } }
|
||||
Tab.NOTIFICATIONS_FEED -> { { NotificationsFragment() } }
|
||||
Tab.PUBLIC_FEED -> { {
|
||||
PostFeedFragment<PublicFeedStatusDatabaseEntity>()
|
||||
|
|
|
@ -16,6 +16,7 @@ import kotlinx.coroutines.delay
|
|||
import kotlinx.coroutines.launch
|
||||
import org.pixeldroid.app.R
|
||||
import org.pixeldroid.app.databinding.ActivityPostCreationBinding
|
||||
import org.pixeldroid.app.settings.TutorialSettingsDialog.Companion.START_TUTORIAL
|
||||
import org.pixeldroid.app.utils.BaseActivity
|
||||
|
||||
class PostCreationActivity : BaseActivity() {
|
||||
|
@ -66,7 +67,7 @@ class PostCreationActivity : BaseActivity() {
|
|||
navController = navHostFragment.navController
|
||||
navController.setGraph(R.navigation.post_creation_graph)
|
||||
|
||||
lifecycleScope.launch {
|
||||
if(intent.getBooleanExtra(START_TUTORIAL, false)) lifecycleScope.launch {
|
||||
var targetCamera = findViewById<View>(R.id.toggleStoryPost)
|
||||
while (targetCamera == null) {
|
||||
targetCamera = findViewById(R.id.toggleStoryPost)
|
||||
|
|
Loading…
Reference in New Issue