-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(settings): add open source licenses disclosure (#16)
* fix(settings): add open source licenses disclosure * Smartling translations are completed for PR#16 from about-libraries (#17) * File Pocket/src/main/res/values/strings.xml was translated to de-DE locale * File Pocket/src/main/res/values/strings.xml was translated to zh-TW locale * File Pocket/src/main/res/values/strings.xml was translated to ko-KR locale * File Pocket/src/main/res/values/strings.xml was translated to pt-BR locale * File Pocket/src/main/res/values/strings.xml was translated to es-ES locale * File Pocket/src/main/res/values/strings.xml was translated to zh-CN locale * File Pocket/src/main/res/values/strings.xml was translated to fr-CA locale * File Pocket/src/main/res/values/strings.xml was translated to es-LA locale * File Pocket/src/main/res/values/strings.xml was translated to it-IT locale * File Pocket/src/main/res/values/strings.xml was translated to pl-PL locale * File Pocket/src/main/res/values/strings.xml was translated to ru-RU locale * File Pocket/src/main/res/values/strings.xml was translated to nl-NL locale * File Pocket/src/main/res/values/strings.xml was translated to pt-PT locale * File Pocket/src/main/res/values/strings.xml was translated to fr-FR locale * File Pocket/src/main/res/values/strings.xml was translated to ja-JP locale --------- Co-authored-by: smartling-github-connector[bot] <165276057+smartling-github-connector[bot]@users.noreply.github.com> --------- Co-authored-by: smartling-github-connector[bot] <165276057+smartling-github-connector[bot]@users.noreply.github.com>
- Loading branch information
1 parent
5198ff1
commit e103c3c
Showing
29 changed files
with
164 additions
and
281 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
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
44 changes: 44 additions & 0 deletions
44
Pocket/src/main/java/com/pocket/app/settings/OpenSourceLicensesFragment.kt
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 |
---|---|---|
@@ -0,0 +1,44 @@ | ||
package com.pocket.app.settings | ||
|
||
import android.os.Bundle | ||
import android.view.LayoutInflater | ||
import android.view.ViewGroup | ||
import androidx.compose.foundation.layout.Column | ||
import androidx.compose.foundation.layout.fillMaxSize | ||
import androidx.compose.material3.Text | ||
import androidx.compose.ui.Modifier | ||
import androidx.compose.ui.res.stringResource | ||
import androidx.fragment.compose.content | ||
import androidx.navigation.fragment.findNavController | ||
import com.ideashower.readitlater.R | ||
import com.mikepenz.aboutlibraries.ui.compose.m3.LibrariesContainer | ||
import com.pocket.sdk.util.AbsPocketFragment | ||
import com.pocket.ui.view.AppBar | ||
import com.pocket.ui.view.button.PocketIconButton | ||
import com.pocket.ui.view.button.UpIcon | ||
import com.pocket.ui.view.themed.PocketTheme | ||
|
||
class OpenSourceLicensesFragment : AbsPocketFragment() { | ||
override fun onCreateViewImpl( | ||
inflater: LayoutInflater?, | ||
container: ViewGroup?, | ||
savedInstanceState: Bundle?, | ||
) = content { | ||
PocketTheme { | ||
Column { | ||
AppBar( | ||
navigationIcon = { | ||
PocketIconButton(onClick = { findNavController().navigateUp() }) { | ||
UpIcon() | ||
} | ||
}, | ||
title = { Text(stringResource(R.string.setting_oss)) }, | ||
) | ||
LibrariesContainer( | ||
Modifier.fillMaxSize(), | ||
showVersion = false, | ||
) | ||
} | ||
} | ||
} | ||
} |
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
136 changes: 0 additions & 136 deletions
136
Pocket/src/main/java/com/pocket/sdk/util/activity/BasicWebViewActivity.java
This file was deleted.
Oops, something went wrong.
32 changes: 0 additions & 32 deletions
32
Pocket/src/main/java/com/pocket/sdk/util/activity/FramedWebViewActivity.java
This file was deleted.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.