From e6501f11696b54ac932ce31c5173f1b08d8cc00c Mon Sep 17 00:00:00 2001 From: Frederik Feichtmeier Date: Sun, 27 Oct 2024 10:36:45 +0100 Subject: [PATCH] chore: main page icon reorder (#986) --- lib/app/view/main_page_icon.dart | 13 +- needs_translation.json | 436 +------------------------------ 2 files changed, 9 insertions(+), 440 deletions(-) diff --git a/lib/app/view/main_page_icon.dart b/lib/app/view/main_page_icon.dart index 1e18a3608..12bebf671 100644 --- a/lib/app/view/main_page_icon.dart +++ b/lib/app/view/main_page_icon.dart @@ -27,13 +27,16 @@ class MainPageIcon extends StatelessWidget with WatchItMixin { final useMoreAnimations = watchPropertyValue((SettingsModel m) => m.useMoreAnimations); - if (useMoreAnimations && currentAudioType == audioType) { - if (isPlaying) { + if (currentAudioType == audioType && isPlaying) { + if (useMoreAnimations) { return const ActiveAudioSignalIndicator(thickness: 1); } else { - return Icon( - Iconz.playFilled, - color: context.colorScheme.primary, + return Padding( + padding: kMainPageIconPadding, + child: Icon( + Iconz.playFilled, + color: context.colorScheme.primary, + ), ); } } diff --git a/needs_translation.json b/needs_translation.json index 19e18d181..601bf2fce 100644 --- a/needs_translation.json +++ b/needs_translation.json @@ -2987,441 +2987,7 @@ "noStarredStations", "stations", "copyToClipBoard", - "insertedIntoQueue", - "downloadStarted", - "downloadCancelled", - "downloadFinished", - "downloadsOnly", - "downloadsDirectory", - "downloadsDirectoryDescription", - "downloadsChangeWarning", - "moreOptions", - "noRadioServerFound", - "connectedTo", - "disconnectedFrom", - "tryReconnect", - "addedTo", - "addToPlaylist", - "open", - "removeFrom", - "noCountryFound", - "noStarredTags", - "name", - "state", - "playNext", - "contributors", - "version", - "theme", - "useMoreAnimationsTitle", - "useMoreAnimationsDescription", - "license", - "dependencies", - "light", - "system", - "dark", - "podcastProvider", - "iTunes", - "podcastIndex", - "usePodcastIndex", - "select", - "requiresAppRestart", - "musicCollectionLocation", - "astronomyXXXPodcastIndexOnly", - "automotiveXXXPodcastIndexOnly", - "aviationXXXPodcastIndexOnly", - "baseballXXXPodcastIndexOnly", - "basketballXXXPodcastIndexOnly", - "beautyXXXPodcastIndexOnly", - "booksXXXPodcastIndexOnly", - "buddhismXXXPodcastIndexOnly", - "careersXXXPodcastIndexOnly", - "chemistryXXXPodcastIndexOnly", - "christianityXXXPodcastIndexOnly", - "climateXXXPodcastIndexOnly", - "commentaryXXXPodcastIndexOnly", - "coursesXXXPodcastIndexOnly", - "craftsXXXPodcastIndexOnly", - "cricketXXXPodcastIndexOnly", - "cryptocurrencyXXXPodcastIndexOnly", - "cultureXXXPodcastIndexOnly", - "dailyXXXPodcastIndexOnly", - "designXXXPodcastIndexOnly", - "documentaryXXXPodcastIndexOnly", - "dramaXXXPodcastIndexOnly", - "earthXXXPodcastIndexOnly", - "entertainmentXXXPodcastIndexOnly", - "entrepreneurshipXXXPodcastIndexOnly", - "familyXXXPodcastIndexOnly", - "fantasyXXXPodcastIndexOnly", - "fashionXXXPodcastIndexOnly", - "filmXXXPodcastIndexOnly", - "fitnessXXXPodcastIndexOnly", - "foodXXXPodcastIndexOnly", - "footballXXXPodcastIndexOnly", - "gamesXXXPodcastIndexOnly", - "gardenXXXPodcastIndexOnly", - "golfXXXPodcastIndexOnly", - "healthXXXPodcastIndexOnly", - "hinduismXXXPodcastIndexOnly", - "hobbiesXXXPodcastIndexOnly", - "hockeyXXXPodcastIndexOnly", - "homeXXXPodcastIndexOnly", - "howToXXXPodcastIndexOnly", - "improvXXXPodcastIndexOnly", - "interviewsXXXPodcastIndexOnly", - "investingXXXPodcastIndexOnly", - "islamXXXPodcastIndexOnly", - "journalsXXXPodcastIndexOnly", - "judaismXXXPodcastIndexOnly", - "kidsXXXPodcastIndexOnly", - "languageXXXPodcastIndexOnly", - "learningXXXPodcastIndexOnly", - "lifeXXXPodcastIndexOnly", - "managementXXXPodcastIndexOnly", - "mangaXXXPodcastIndexOnly", - "marketingXXXPodcastIndexOnly", - "mathematicsXXXPodcastIndexOnly", - "medicineXXXPodcastIndexOnly", - "mentalXXXPodcastIndexOnly", - "naturalXXXPodcastIndexOnly", - "natureXXXPodcastIndexOnly", - "nonProfitXXXPodcastIndexOnly", - "nutritionXXXPodcastIndexOnly", - "parentingXXXPodcastIndexOnly", - "performingXXXPodcastIndexOnly", - "personalXXXPodcastIndexOnly", - "petsXXXPodcastIndexOnly", - "philosophyXXXPodcastIndexOnly", - "physicsXXXPodcastIndexOnly", - "placesXXXPodcastIndexOnly", - "politicsXXXPodcastIndexOnly", - "relationshipsXXXPodcastIndexOnly", - "religionXXXPodcastIndexOnly", - "reviewsXXXPodcastIndexOnly", - "rolePlayingXXXPodcastIndexOnly", - "rugbyXXXPodcastIndexOnly", - "runningXXXPodcastIndexOnly", - "selfImprovementXXXPodcastIndexOnly", - "sexualityXXXPodcastIndexOnly", - "soccerXXXPodcastIndexOnly", - "socialXXXPodcastIndexOnly", - "societyXXXPodcastIndexOnly", - "spiritualityXXXPodcastIndexOnly", - "standUpXXXPodcastIndexOnly", - "storiesXXXPodcastIndexOnly", - "swimmingXXXPodcastIndexOnly", - "tVXXXPodcastIndexOnly", - "tabletopXXXPodcastIndexOnly", - "tennisXXXPodcastIndexOnly", - "travelXXXPodcastIndexOnly", - "videoGamesXXXPodcastIndexOnly", - "visualXXXPodcastIndexOnly", - "volleyballXXXPodcastIndexOnly", - "weatherXXXPodcastIndexOnly", - "wildernessXXXPodcastIndexOnly", - "wrestlingXXXPodcastIndexOnly", - "updateAvailable", - "showMetaData", - "metadata", - "writeMetadata", - "reorder", - "move", - "pinAlbum", - "unPinAlbum", - "playAll", - "hearingHistory", - "emptyHearingHistory", - "searchForRadioStationsWithGenreName", - "clearPlaylist", - "editPlaylist", - "stationUrl", - "podcastFeedUrl", - "stationName", - "podcastName", - "url", - "loadFromFileOptional", - "loadMore", - "searchOnline", - "shareThisEpisode", - "downloadEpisode", - "removeDownloadEpisode", - "language", - "duration", - "radioTagDisclaimerTitle", - "radioTagDisclaimerSubTitle", - "podcastFeedLoadingTimeout", - "gitHubClientConnectError", - "replayEpisode", - "replayAllEpisodes", - "checkForUpdates", - "playbackWillStopIn", - "schedulePlaybackStopTimer", - "alwaysAsk", - "hideToTray", - "closeBtnAction", - "whenCloseBtnClicked", - "closeApp", - "closeMusicPod", - "confirmCloseOrHideTip", - "doNotAskAgain", - "skipToLivStream", - "searchSimilarStation", - "onlineArtError", - "clicks", - "exposeOnlineHeadline", - "exposeToDiscordTitle", - "exposeToDiscordSubTitle", - "featureDisabledOnPlatform", - "regionNone", - "regionAfghanistan", - "regionAlandislands", - "regionAlbania", - "regionAlgeria", - "regionAmericansamoa", - "regionAndorra", - "regionAngolia", - "regionAnguilla", - "regionAntarctica", - "regionAntiguaandbarbuda", - "regionArgentina", - "regionArmenia", - "regionAruba", - "regionAustralia", - "regionAustria", - "regionAzerbaijan", - "regionBahamas", - "regionBahrain", - "regionBangladesh", - "regionBarbados", - "regionBelarus", - "regionBelgium", - "regionBelize", - "regionBenin", - "regionBermuda", - "regionBhutan", - "regionBolivia", - "regionBonaire", - "regionBosniaandherzegovina", - "regionBotswana", - "regionBouvetisland", - "regionBrazil", - "regionBritishindianoceanterrirory", - "regionBritishvirginislands", - "regionBruneidarussalam", - "regionBulgaria", - "regionBurkinafaso", - "regionBurundi", - "regionCaboverde", - "regionCambodia", - "regionCameroon", - "regionCanada", - "regionCaymanislands", - "regionCentralafricanrepublic", - "regionChad", - "regionChile", - "regionChina", - "regionChristmasisland", - "regionCocosislands", - "regionColombia", - "regionComoros", - "regionCongo", - "regionCongodemocraticrepublicof", - "regionCookislands", - "regionCostarica", - "regionCotedivoire", - "regionCroatia", - "regionCuba", - "regionCuracao", - "regionCyprus", - "regionCzechia", - "regionDenmark", - "regionDjibouti", - "regionDominica", - "regionDominicanrepublic", - "regionEcuador", - "regionEgypt", - "regionElsalvador", - "regionEquatorialguinea", - "regionEritrea", - "regionEstonia", - "regionEthiopia", - "regionFalklandislands", - "regionFaroeislands", - "regionFiji", - "regionFinland", - "regionFrance", - "regionFrenchguiana", - "regionFrenchpolynesia", - "regionFrenchsouthernterritories", - "regionGabon", - "regionGambia", - "regionGeorgia", - "regionGermany", - "regionGhana", - "regionGibraltar", - "regionGreece", - "regionGreenland", - "regionGrenada", - "regionGuadeloupe", - "regionGuam", - "regionGuatemala", - "regionGuernsey", - "regionGuinea", - "regionGuineabissau", - "regionGuyana", - "regionHaiti", - "regionHeardislandandmcdonaldislands", - "regionHonduras", - "regionHongkong", - "regionHungary", - "regionIceland", - "regionIndia", - "regionIndonesia", - "regionIran", - "regionIraq", - "regionIreland", - "regionIsleofman", - "regionIsrael", - "regionItaly", - "regionJamaica", - "regionJapan", - "regionJersey", - "regionJordan", - "regionKazakhstan", - "regionKenya", - "regionKiribati", - "regionKuwait", - "regionKyrgyzstan", - "regionLaos", - "regionLatvia", - "regionLebanon", - "regionLesotho", - "regionLiberia", - "regionLibya", - "regionLiechtenstein", - "regionLithuania", - "regionLuxembourg", - "regionMacao", - "regionMacedonia", - "regionMadagascar", - "regionMalawi", - "regionMalaysia", - "regionMaldives", - "regionMali", - "regionMalta", - "regionMarshallislands", - "regionMartinique", - "regionMauritania", - "regionMauritius", - "regionMayotte", - "regionMexico", - "regionMicronesia", - "regionMoldova", - "regionMonaco", - "regionMongolia", - "regionMontenegro", - "regionMontserrat", - "regionMorocco", - "regionMozambique", - "regionMyanmar", - "regionNamibia", - "regionNauru", - "regionNepal", - "regionNetherlands", - "regionNewcaledonia", - "regionNewzealand", - "regionNicaragua", - "regionNiger", - "regionNigeria", - "regionNiue", - "regionNorfolkisland", - "regionNorthkorea", - "regionNorthernmarianaislands", - "regionNorway", - "regionOman", - "regionPakistan", - "regionPalau", - "regionPalestine", - "regionPanama", - "regionPapuanewguinea", - "regionParaguay", - "regionPeru", - "regionPhilippines", - "regionPitcairn", - "regionPoland", - "regionPortugal", - "regionPuertorico", - "regionQatar", - "regionReunion", - "regionRomania", - "regionRussianfederation", - "regionRwanda", - "regionSaintbarthelemy", - "regionSainthelena", - "regionSaintkittsandnevis", - "regionSaintlucia", - "regionSaintmartin", - "regionSaintpierreandmiquelon", - "regionSaintvincentandthegrenadines", - "regionSamoa", - "regionSanmarino", - "regionSaotomeandprincipe", - "regionSaudiarabia", - "regionSenegal", - "regionSerbia", - "regionSeychelles", - "regionSierraleone", - "regionSingapore", - "regionSintmaarten", - "regionSlovakia", - "regionSlovenia", - "regionSolomonislands", - "regionSomalia", - "regionSouthafrica", - "regionSouthgeorgiaandthesouthsandwichislands", - "regionSouthkorea", - "regionSouthsudan", - "regionSpain", - "regionSrilanka", - "regionSudan", - "regionSuriname", - "regionSvalbardandjanmayen", - "regionSwaziland", - "regionSweden", - "regionSwitzerland", - "regionSyrianarabrepublic", - "regionTaiwan", - "regionTajikistan", - "regionTanzania", - "regionThailand", - "regionTimorleste", - "regionTogo", - "regionTokelau", - "regionTonga", - "regionTrinidadandtobago", - "regionTunisia", - "regionTurkey", - "regionTurkmenistan", - "regionTurksandcaicosislands", - "regionTuvalu", - "regionUganda", - "regionUkraine", - "regionUnitedarabemirates", - "regionUnitedkingdom", - "regionUnitedstates", - "regionUnitedstatesminoroutlyingislands", - "regionUruguay", - "regionUsvirginislands", - "regionUzbekistan", - "regionVanuatu", - "regionVaticancity", - "regionVenezuela", - "regionVietnam", - "regionWallisandfutuna", - "regionWesternsahara", - "regionYemen", - "regionZambia", - "regionZimbabwe" + "insertedIntoQueue" ], "tr": [