mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
display title texts for images on mobile (fix #585)
This commit is contained in:
@@ -682,8 +682,9 @@ module.controller('FeedListCtrl', [
|
||||
'FeedService',
|
||||
'CategoryService',
|
||||
'AnalyticsService',
|
||||
'MobileService',
|
||||
function($scope, $stateParams, $http, $route, $state, $window, $timeout, $location, EntryService, SettingsService, FeedService,
|
||||
CategoryService, AnalyticsService) {
|
||||
CategoryService, AnalyticsService, MobileService) {
|
||||
|
||||
$window = angular.element($window);
|
||||
AnalyticsService.track();
|
||||
@@ -702,6 +703,7 @@ module.controller('FeedListCtrl', [
|
||||
$scope.font_size = 0;
|
||||
|
||||
$scope.settingsService = SettingsService;
|
||||
$scope.MobileService = MobileService;
|
||||
$scope.$watch('settingsService.settings.readingMode', function(newValue, oldValue) {
|
||||
if (newValue && oldValue && newValue != oldValue) {
|
||||
$scope.$emit('emitReload');
|
||||
|
||||
Reference in New Issue
Block a user