<commit_before>//
//  TimeilneToolbarModifier.swift
//  NetNewsWire
//
//  Created by <NAME> on 7/5/20.
//  Copyright © 2020 Ranchero Software. All rights reserved.
//

import Foundation

import SwiftUI

struct TimelineToolbarModifier: ViewModifier {
	
	func body(content: Content) -> some View {
		content
			.toolbar {
				#if os(iOS)
				ToolbarItem {
					Button(action: {
					}, label: {
						AppAssets.markAllAsReadImage
							.foregroundColor(.accentColor)
					}).help("Mark All As Read")
				}
				ToolbarItem {
					Spacer()
				}
				ToolbarItem(placement: .automatic) {
					RefreshProgressView()
				}
				ToolbarItem {
					Spacer()
				}
				ToolbarItem {
					Button(action: {
					}, label: {
						AppAssets.nextUnreadArticleImage
							.resizable()
							.scaledToFit()
							.frame(width: 22, height: 22, alignment: .center)
					})
				}
				#endif
			}
	}
	
}<commit_msg>Change how next unread image is scaled up<commit_after>//
//  TimeilneToolbarModifier.swift
//  NetNewsWire
//
//  Created by <NAME> on 7/5/20.
//  Copyright © 2020 Ranchero Software. All rights reserved.
//

import Foundation

import SwiftUI

struct TimelineToolbarModifier: ViewModifier {
	
	func body(content: Content) -> some View {
		content
			.toolbar {
				#if os(iOS)
				ToolbarItem {
					Button(action: {
					}, label: {
						AppAssets.markAllAsReadImage
							.foregroundColor(.accentColor)
					}).help("Mark All As Read")
				}
				ToolbarItem {
					Spacer()
				}
				ToolbarItem(placement: .automatic) {
					RefreshProgressView()
				}
				ToolbarItem {
					Spacer()
				}
				ToolbarItem {
					Button(action: {
					}, label: {
						AppAssets.nextUnreadArticleImage
							.font(.title3)
					}).help("Next Unread")
				}
				#endif
			}
	}
	
}
{'fraction_non_alphanumeric': 0.11758055398530243, 'fraction_numerical': 0.011871113623516111, 'mean_word_length': 2.2838589981447126, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '12568', 'n_tokens_mistral': 814, 'n_tokens_neox': 583, 'n_words': 124}