mirror of
https://github.com/feeddeck/feeddeck.git
synced 2026-03-11 08:02:02 -05:00
Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ff52516324 | ||
|
|
abd3c24f68 | ||
|
|
04ef618295 | ||
|
|
a58c93be8a | ||
|
|
5a8d6b34c1 | ||
|
|
9233e4d373 | ||
|
|
6e50af16a7 |
@@ -71,7 +71,7 @@ android {
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
if (project.hasProperty("keyStoreFile")) {
|
||||
if (keystorePropertiesFile.exists()) {
|
||||
signingConfig signingConfigs.release
|
||||
} else {
|
||||
// For testing purposes we sign with dummy credentials if no key properties are given.
|
||||
|
||||
@@ -57,7 +57,7 @@ void main() async {
|
||||
/// We can not initialize the [just_audio_background] package on Windows and
|
||||
/// Linux, because then the returned duration in the `_player.durationStream`
|
||||
/// isn't working correctly in the [ItemAudioPlayer] widget.
|
||||
if (kIsWeb || Platform.isAndroid || Platform.isIOS || Platform.isIOS) {
|
||||
if (kIsWeb || Platform.isAndroid || Platform.isIOS || Platform.isMacOS) {
|
||||
await JustAudioBackground.init(
|
||||
androidNotificationChannelId: 'com.ryanheise.bg_demo.channel.audio',
|
||||
androidNotificationChannelName: 'Audio playback',
|
||||
|
||||
@@ -65,6 +65,7 @@ class _ItemAudioPlayerState extends State<ItemAudioPlayer> {
|
||||
|
||||
@override
|
||||
void dispose() {
|
||||
_player.pause();
|
||||
_player.dispose();
|
||||
super.dispose();
|
||||
}
|
||||
|
||||
@@ -70,7 +70,7 @@ class _ItemActionsState extends State<ItemActions> {
|
||||
});
|
||||
}
|
||||
|
||||
/// [_showActionsMenuLarge] shows a popup menu with all available aactions for
|
||||
/// [_showActionsMenuLarge] shows a popup menu with all available actions for
|
||||
/// an item. This means the user can mark an item as read or unread or a user
|
||||
/// can add or remove a bookmark for an item.
|
||||
void _showActionsMenuLarge(BuildContext context) async {
|
||||
@@ -143,6 +143,11 @@ class _ItemActionsState extends State<ItemActions> {
|
||||
}
|
||||
}
|
||||
|
||||
/// [_showActionsMenuSmall] shows a modal bottom sheet with all available
|
||||
/// actions for an item. This means the user can mark an item as read or
|
||||
/// unread or a user can add or remove a bookmark for an item. The actions are
|
||||
/// the same as we show on large screens via [_showActionsMenuLarge], but the
|
||||
/// modal bottom sheet is optiomized for small screens.
|
||||
void _showActionsMenuSmall(BuildContext mainContext) async {
|
||||
HapticFeedback.heavyImpact();
|
||||
|
||||
@@ -326,12 +331,16 @@ class _ItemActionsState extends State<ItemActions> {
|
||||
/// On large screens we show an actions menu via `_showActionsMenuLarge`,
|
||||
/// which is rendered directly at the point where the user pressed on the
|
||||
/// item.
|
||||
/// The menu can be opened by a long press or by a secondary tap (right
|
||||
/// click) on the item.
|
||||
return MouseRegion(
|
||||
cursor: SystemMouseCursors.click,
|
||||
child: GestureDetector(
|
||||
onTap: widget.onTap,
|
||||
onTapDown: (details) => _getTapPositionLarge(details),
|
||||
onLongPress: () => _showActionsMenuLarge(context),
|
||||
onSecondaryTapDown: (details) => _getTapPositionLarge(details),
|
||||
onSecondaryTap: () => _showActionsMenuLarge(context),
|
||||
child: Container(
|
||||
width: double.infinity,
|
||||
decoration: const BoxDecoration(
|
||||
|
||||
@@ -81,6 +81,10 @@ class ItemDescription extends StatelessWidget {
|
||||
}
|
||||
|
||||
/// [_buildPlain] renders the provided [content] as plain text.
|
||||
///
|
||||
/// To not have some trailing newlines, the [content] is trimmed and splitted
|
||||
/// on newline characters, so that we can filter out empty lines, before the
|
||||
/// the content is rendered.
|
||||
Widget _buildPlain(String content) {
|
||||
if (content == '') {
|
||||
return Container();
|
||||
@@ -91,7 +95,7 @@ class ItemDescription extends StatelessWidget {
|
||||
bottom: Constants.spacingExtraSmall,
|
||||
),
|
||||
child: Text(
|
||||
content.trim(),
|
||||
content.trim().split('\n').where((line) => line != '').join('\n'),
|
||||
maxLines: 5,
|
||||
style: const TextStyle(
|
||||
overflow: TextOverflow.ellipsis,
|
||||
|
||||
@@ -50,6 +50,25 @@
|
||||
</categories>
|
||||
|
||||
<releases>
|
||||
<release version="v1.2.1" date="2023-11-30">
|
||||
<description>
|
||||
<p>Fixed</p>
|
||||
<ul>
|
||||
<li>#84: [podcast] Stop Audio Playback on Windows and Linux @ricoberger</li>
|
||||
<li>#82: [core] Fix build.gradle File for Android Release @ricoberger</li>
|
||||
</ul>
|
||||
|
||||
<p>Changed</p>
|
||||
<ul>
|
||||
<li>#86: [core] Remove Blank Line in Item Preview Description @ricoberger</li>
|
||||
<li>#85: [core] Add Right Click Support for Item Actions @ricoberger</li>
|
||||
<li>#83: [medium] Extend Filter Words List @ricoberger</li>
|
||||
</ul>
|
||||
</description>
|
||||
|
||||
<url>https://github.com/feeddeck/feeddeck/releases/tag/v1.2.1</url>
|
||||
</release>
|
||||
|
||||
<release version="v1.2.0" date="2023-11-26">
|
||||
<description>
|
||||
<p>Added</p>
|
||||
@@ -64,13 +83,13 @@
|
||||
</ul>
|
||||
|
||||
<p>Fixed</p>
|
||||
<ul>
|
||||
<li>#75: [core] Fix getMedia Function @ricoberger</li>
|
||||
<li>#73: [core] Fix Decoding of Special Characters @ricoberger</li>
|
||||
<li>#64: [github] Fix Icons in Item Preview @ricoberger</li>
|
||||
<li>#58: [core] Add Missing Divider to Video Quality Selection @ricoberger</li>
|
||||
<li>#57: [core] Fix Modal Bottom Sheet Size for Images @ricoberger</li>
|
||||
<li>#55: [github] Fix Notification Links for PRs @ricoberger</li>
|
||||
<ul>
|
||||
</ul>
|
||||
|
||||
<p>Changed</p>
|
||||
|
||||
@@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
||||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
||||
# In Windows, build-name is used as the major, minor, and patch parts
|
||||
# of the product and file versions while build-number is used as the build suffix.
|
||||
version: 1.2.0+8
|
||||
version: 1.2.1+9
|
||||
|
||||
environment:
|
||||
sdk: '>=3.1.3 <4.0.0'
|
||||
@@ -171,7 +171,7 @@ msix_config:
|
||||
publisher_display_name: Rico Berger
|
||||
identity_name: 26077RicoBerger.FeedDeck
|
||||
publisher: CN=7740451A-C179-450A-B346-7231CA231332
|
||||
msix_version: 1.2.0.0
|
||||
msix_version: 1.2.1.0
|
||||
logo_path: templates/app-icon/windows.png
|
||||
languages: en-us
|
||||
capabilities: internetClient
|
||||
|
||||
@@ -219,6 +219,7 @@ const skipEntry = (
|
||||
'fałszywych',
|
||||
'pieniędzy',
|
||||
'whatsapp',
|
||||
'money',
|
||||
];
|
||||
const title = entry.title.value.toLowerCase();
|
||||
let score = 0;
|
||||
|
||||
Reference in New Issue
Block a user